private void OnTriggerEnter2D(Collider2D other) { ABR_Ship ship = other.GetComponent <ABR_Ship>(); if (ship != null) { runaways.Remove(ship); NotificationReciever notificationReciever = ship.GetComponent <NotificationReciever>(); if (notificationReciever != null) { notificationReciever.Notify("Lost Control", false); } ship.StopThrust(true); ship.StopTurnTo(true); } }
private void EndTouch() { m_ship.StopTurnTo(); ToggleTouchVisual(false); started = false; }
private void EndTouch() { m_ship.StopTurnTo(); started = false; }