Exemplo n.º 1
0
 public void Turn()
 {
     checkPreviousPuzzles();
     //If previous puzzles resolved
     if (canBeTurned == true)
     {
         anim.SetBool(boolAnim, true);
         m_AudioSource.Play();
         this.gameObject.tag = "Untagged";
         StartCoroutine("activateScene");
     }
     else
     {
         //If not
         showDialog.appearDialog(textIfCant);
     }
 }