private void OnReachTarget() { if (targetSystem) { systemLocation = targetSystem; systemLocation.AddAgent(this); } targetSystem = null; }