Esempio n. 1
0
 /// <summary>
 /// スワイプ終了
 /// </summary>
 private void OnEndedSwipe(SwipeEventData ev)
 {
     if (thruster)
     {
         thruster.ThrusterStandby();
         thruster.SetThrusterAngle(0f);
     }
 }
Esempio n. 2
0
 /// <summary>
 /// 検出オブジェクトを解放
 /// </summary>
 private void OnRelease(DetectableObject2D obj)
 {
     if (obj.transform == target)
     {
         thruster.ThrusterStandby();
         target = null;
         weapon.WeaponStandby();
     }
 }