Esempio n. 1
0
 private void OnTriggerStay2D(Collider2D collision)
 {
     if (playerController != null)
     {
         if (playerController.groundDetectors.IsGrounded)
         {
             StartCoroutine(playerController.Advance(nextLevelIndex));
         }
     }
 }