示例#1
0
 public static void BeginVerticalSplit(UnityEditorMemoSplitterState state, params GUILayoutOption[] options)
 {
     DoMethod("BeginVerticalSplit", new Type[] {
         UnityEditorMemoSplitterState.splitterStateType,
         typeof(GUILayoutOption[])
     }, null, new object[] { state.GetState(), options });
 }
示例#2
0
        //======================================================================
        // Public Helper Method ・ Initialize
        //======================================================================
        public static void Initialize(Rect window)
        {
            VerticalState = new UnityEditorMemoSplitterState(new float[] { window.height * 0.9f, window.height * 0.1f },
                                                             new int[] { 200, 200 }, new int[] { 1500, 300 });

            LoadGUIData();
            LoadUnityEditorMemoSaveDatas();
            var selectCategoryId = ScriptableSingleton <UnityEditorMemoWindowSave> .instance.selectCategoryId;

            LoadUnityEditorMemoFromCategory(selectCategoryId);
        }