Beispiel #1
0
 void OnTriggerEnter(Collider other)
 {
     launchingShip = other.gameObject.GetComponent<Ship>() as Ship;
     if(launchingShip != null)
     {
         launchingShip.ReadyLaunch(gameObject, LaunchForce, MaxDistance);
     }
 }