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