コード例 #1
0
 //Ability Methods
 private void AttemptPlayerFlip()
 {
     if (waitingOnTap && timeCoroutine == null)
     {
         waitingOnTap = false;
         ResumeTime();
     }
     else if (waitingOnFlip && timeCoroutine == null)
     {
         waitingOnFlip = false;
         ResumeTime();
         player.Flip();
     }
     else if (flipEnabled)
     {
         player.Flip();
     }
 }
コード例 #2
0
 //Input Actions
 protected override void TapAction()
 {
     player.Flip();
 }