public void Open_On() { MS = MoleState.Open; Ani_count = 0; audio.clip = Open_Sound; audio.Play(); int a = Random.Range(0, 100); if (a >= PerGood) { GoodMole = false; } else { GoodMole = true; } if (GM.GS == GameState.Ready) { GM.GO(); } }
public void Open_On() { MS = MoleState.Open; Ani_count = 0; audio.clip = Open_Sound; audio.Play(); int a = Random.Range(0, 100); if (a >= PerGood) { GoodMole = false; } else { GoodMole = true; } if (GM.GS == GameState.Ready) { GM.GO(); } }