예제 #1
0
 // Update is called once per frame
 void Update()
 {
     // TBD: enable in battle
     //ship.setText(ship.getName() +
     //    ": " + "manual");
     if (!ship.getActive())
     {
         return;
     }
     getNextState();
 }
예제 #2
0
 /*
  *
  */
 void Update()
 {
     ship.setText(ship.getName() +
                  ": " + GetComponent <ShipController>().
                  getState().ToString().Substring(0, 1));
     if (!ship.getActive())
     {
         return;
     }
     handleState();
     getNextState();
 }