public virtual void ChangeTarget(int direction) { if (lockOn) { GameObject newTarget = targetControl.ChangeTarget(direction); if (newTarget != null) { target = newTarget; } } }