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

        FirstSpellEffect.Display();
    }