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