コード例 #1
0
 void OnTriggerStay2D(Collider2D other)
 {
     if (timer.GetElapsedTime() > 3.9f)
     {
         if (isPlayer1)
         {
             playerController1.stunLock();
         }
         else
         {
             playerController2.stunLock();
         }
     }
 }