Example #1
0
    static void Init()
    {
        // Get existing open window or if none, make a new one:
        ComboEditor window = (ComboEditor)EditorWindow.GetWindow(typeof(ComboEditor));

        window.Show();
    }
 public static void Init(ref Combo pCombo)
 {
     Selection.activeObject = pCombo;
     m_ComboEditor          = GetWindow <ComboEditor>();
     m_ComboEditor.Show();
 }