// Use this for initialization
 void Start()
 {
     target = spaceShip.GetComponent <SpaceShip>();
     if (target == null)
     {
         Debug.LogError(this.gameObject.name + ": Could not found SpaceShipInterface");
         Application.Quit();
     }
 }
Example #2
0
 public static void open_interface()
 {
     SpaceShipInterface.open_interface();
 }
Example #3
0
 public static void close_interface()
 {
     SpaceShipInterface.close_interface();
 }