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