public void SetHaveControl(bool hasControl) { HaveControl = hasControl; Deactivate(); OnControlsChanged?.Invoke(hasControl, _commandName);//Red = Lost Control, White = Not in use, Green = Active (not implemented yet) }
public static void ControlsChanged(bool state) { OnControlsChanged?.Invoke(state); }