void UpdateButtonState() { if (!returnButton.interactable && drone.GetDroneState() != UserDroneState.ReturnToBase && !drone.isDocked) { returnButton.interactable = true; } if (!launchButton.interactable && drone.isDocked) { launchButton.interactable = true; } else if (!drone.isDocked && launchButton.interactable) { launchButton.interactable = false; } }