示例#1
0
 public bool loadingComplete()
 {
     if (target.interactsWithTransport(false))
     {
         transported = target;
         return(true);
     }
     else
     {
         return(false);
     }
 }
示例#2
0
 public bool unloadingComplete()
 {
     if (transported == null || !transported.interactsWithTransport(false))
     {
         transported = null;
         return(true);
     }
     else
     {
         return(false);
     }
 }
示例#3
0
 public void load(InfantryBehaviour t)
 {
     target = t;
     //GetComponent<UnitBehaviour>().gotDestination = true;
 }