GetItemViewMode() public static method

public static GetItemViewMode ( string prefix ) : ItemViewMode
prefix string
return ItemViewMode
Exemplo n.º 1
0
 public override void OnInspectorGUI()
 {
     this.m_GenericPresetLibraryInspector.itemViewMode = PresetLibraryEditorState.GetItemViewMode(ColorPicker.presetsEditorPrefID);
     if (this.m_GenericPresetLibraryInspector != null)
     {
         this.m_GenericPresetLibraryInspector.OnInspectorGUI();
     }
 }
 public override void OnInspectorGUI()
 {
     this.m_GenericPresetLibraryInspector.itemViewMode = PresetLibraryEditorState.GetItemViewMode("Gradient");
     if (this.m_GenericPresetLibraryInspector != null)
     {
         this.m_GenericPresetLibraryInspector.OnInspectorGUI();
     }
 }
Exemplo n.º 3
0
 public override void OnInspectorGUI()
 {
     m_GenericPresetLibraryInspector.itemViewMode = PresetLibraryEditorState.GetItemViewMode("Gradient"); // ensure in-sync
     if (m_GenericPresetLibraryInspector != null)
     {
         m_GenericPresetLibraryInspector.OnInspectorGUI();
     }
 }
Exemplo n.º 4
0
 public override void OnInspectorGUI()
 {
     m_GenericPresetLibraryInspector.itemViewMode = PresetLibraryEditorState.GetItemViewMode(ColorPicker.presetsEditorPrefID); // ensure in-sync
     if (m_GenericPresetLibraryInspector != null)
     {
         m_GenericPresetLibraryInspector.OnInspectorGUI();
     }
 }
Exemplo n.º 5
0
 public override void OnInspectorGUI()
 {
     this.m_GenericPresetLibraryInspector.itemViewMode = PresetLibraryEditorState.GetItemViewMode(CurvePresetsContentsForPopupWindow.GetBasePrefText(this.m_CurveLibraryType));
     if (this.m_GenericPresetLibraryInspector == null)
     {
         return;
     }
     this.m_GenericPresetLibraryInspector.OnInspectorGUI();
 }
Exemplo n.º 6
0
        public override void OnInspectorGUI()
        {
            string editorPrefPrefix = CurvePresetsContentsForPopupWindow.GetBasePrefText(m_CurveLibraryType);

            m_GenericPresetLibraryInspector.itemViewMode = PresetLibraryEditorState.GetItemViewMode(editorPrefPrefix); // ensure in-sync
            if (m_GenericPresetLibraryInspector != null)
            {
                m_GenericPresetLibraryInspector.OnInspectorGUI();
            }
        }