diff --git a/meng_yao/Assets/Scenes/scene_Main.unity b/meng_yao/Assets/Scenes/scene_Main.unity index 1a2df2e1..df371001 100644 --- a/meng_yao/Assets/Scenes/scene_Main.unity +++ b/meng_yao/Assets/Scenes/scene_Main.unity @@ -144256,12 +144256,12 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 50f01097e72bebc40a00a4aa9d31dd6e, type: 3} m_Name: m_EditorClassIdentifier: - MusicOffBtn: {fileID: 0} - MusicOnBtn: {fileID: 0} - SoundOffBtn: {fileID: 0} - SoundOnBtn: {fileID: 0} - vibrationOffBtn: {fileID: 0} - vibrationOnBtn: {fileID: 0} + MusicOffBtn: {fileID: 1844775889} + MusicOnBtn: {fileID: 1385394961} + SoundOffBtn: {fileID: 1567109573} + SoundOnBtn: {fileID: 31193512} + vibrationOffBtn: {fileID: 2099280610} + vibrationOnBtn: {fileID: 339341746} offisp: {fileID: 21300000, guid: b4a063844ffdffe4bbb45b410370038b, type: 3} onsp: {fileID: 21300000, guid: d7396a7efd375b14e8bf1c1bef7f9a79, type: 3} --- !u!1 &1676680139 diff --git a/meng_yao/Assets/script/TanChuang/Lottery.cs b/meng_yao/Assets/script/TanChuang/Lottery.cs index f5cd464c..14c25e88 100644 --- a/meng_yao/Assets/script/TanChuang/Lottery.cs +++ b/meng_yao/Assets/script/TanChuang/Lottery.cs @@ -61,11 +61,10 @@ public class Lottery : MonoBehaviour { for (int i = 0; i < shenxiaocard.Count; i++) { - if (shenxiaocard[i].Equals(name)) + if (shenxiaocard[i].Equals(n)) { return petsp[i]; } - } return null; }