Example #1
0
 void OnCollisionEnter2D(Collision2D col)
 {
     SoundManagerScript.playCorrectSound();
     this.gameObject.SetActive(false);
     Progress.may = true;
     SpellBookUI.May();
 }
Example #2
0
    void OnCollisionEnter2D(Collision2D col)
    {
        SoundManagerScript.playSpell01Sound();
        this.gameObject.SetActive(false);
        Progress.hello = true;
        SpellBookUI.Hello();

        FirstSpellEffect.Display();
    }