private void LateUpdate() { if (submittedCommand) { ObjectSelector.CheckValid(); // In case the command modified the object submittedCommand = false; } }