public void AssignTarget(Dock t)
 {
     target = t;
     goToOrder.AssignTarget(t.transform.position, target.DockingRange * 0.8f);
     reachedTarget = false;
 }
示例#2
0
 public void AssignTarget(Mineable t)
 {
     target = t;
     goToOrder.AssignTarget(t.transform.position, miningRange);
     reachedTarget = false;
 }