Beispiel #1
0
 private void OnTriggerExit2D(Collider2D collider)
 {
     if (playerOnFocus != null && collider.gameObject == playerOnFocus.gameObject)
     {
         playerOnFocus = null;
         if (dialogueSystem.IsDialoguePlaying())
         {
             dialogueSystem.DialogueFinished();
         }
         //Disable the button
         VirtualJoystick.DisableDynamicButton("tag_question");
     }
 }