void OnCollisionEnter2D(Collision2D col) { SoundManagerScript.playCorrectSound(); this.gameObject.SetActive(false); Progress.may = true; SpellBookUI.May(); }
void OnCollisionEnter2D(Collision2D col) { SoundManagerScript.playSpell01Sound(); this.gameObject.SetActive(false); Progress.hello = true; SpellBookUI.Hello(); FirstSpellEffect.Display(); }