void OnButtonInteractableChanged(IButtonInteractable data) { if (data != null && (ButtonType)data.type == ButtonType.Follow) { m_FollowCameraButton.interactable = data.interactable; } }
void OnButtonInteractableChanged(IButtonInteractable data) { if (data?.type == (int)ButtonType.Settings) { m_DialogButton.button.interactable = data.interactable; } }
void OnButtonInteractableChanged(IButtonInteractable data) { if (data?.type == (int)ButtonType.Profile) { m_Button.interactable = data.interactable; } }
void OnButtonInteractableChanged(IButtonInteractable data) { if (data?.type == (int)ButtonType.ProjectList) { m_Interactable = data.interactable; UpdateButtons(); } }
void OnButtonInteractableChanged(IButtonInteractable data) { if (data?.type == (int)ButtonType.Sync) { m_Interactable = data.interactable; UpdateButtonInteractable(m_ToolBarEnabledSelector.GetValue()); } }
void OnButtonInteractableChanged(IButtonInteractable data) { if (data?.type == (int)ButtonType.Audio) { m_Interactable = data.interactable; UpdateButtonInteractable(); } }
void OnButtonInteractableChanged(IButtonInteractable data) { switch (data?.type) { case (int)ButtonType.PrivateMode: m_PrivateModeInteractable = data.interactable; UpdateToggleInteractable(); break; case (int)ButtonType.LogOff: m_LogOutInteractable = data.interactable; m_LogoutButton.interactable = data.interactable; break; } }