void OnHelpModeEntryChanged(SetHelpModeIDAction.HelpModeEntryID newData) { if (newData == SetHelpModeIDAction.HelpModeEntryID.None) { m_ProjectListButton.selected = false; } }
void OnHelpModeEntryChanged(SetHelpModeIDAction.HelpModeEntryID newData) { if (newData == SetHelpModeIDAction.HelpModeEntryID.None) { m_MeasureToolButton.selected = false; } }
void OnHelpModeEntryChanged(SetHelpModeIDAction.HelpModeEntryID id) { if (id != SetHelpModeIDAction.HelpModeEntryID.None) { m_DeltaDnaRequest.TrackButtonEvent(m_DeltaDnaRequest.userId, $"HelpMode_{id.ToString()}"); } }
void OnHelpModeEntryChanged(SetHelpModeIDAction.HelpModeEntryID data) { if (m_DialogModeSelector.GetValue() == SetDialogModeAction.DialogMode.Help) { Display(data); } }
public static bool SetHelpID(SetHelpModeIDAction.HelpModeEntryID entryId) { if (s_Instance.m_DialogModeSelector.GetValue() == SetDialogModeAction.DialogMode.Help) { Dispatcher.Dispatch(SetDeltaDNAButtonAction.From($"HelpMode_{entryId.ToString()}")); Dispatcher.Dispatch(SetHelpModeIDAction.From(entryId)); return(true); } return(false); }
public void Display(SetHelpModeIDAction.HelpModeEntryID helpModeId) { Assert.IsNotNull(m_Data.entries); if (helpModeId == SetHelpModeIDAction.HelpModeEntryID.None) { return; } foreach (var entry in m_Data.entries) { if (entry.helpModeEntryId == helpModeId) { DisplayEntry(entry, false); return; } } Debug.LogError($"Could not find help dialog data corresponding to id [{helpModeId}]"); }