public void ClearTarget() { target = null; }
public void CmdSetTarget(GameObject targetGameObject) { if (!targetGameObject.TryGetComponent<Targetable>(out Targetable newTarget)) return; target = newTarget; }