예제 #1
0
 public static void BeginHorizontalSplit(SplitterState state, GUIStyle style, params GUILayoutOption[] options)
 {
     CustomBeginSplit(state, style, false, options);
 }
예제 #2
0
 public static void BeginVerticalSplit(SplitterState state, GUIStyle style, params GUILayoutOption[] options)
 {
     CustomBeginSplit(state, style, true, options);
 }
예제 #3
0
 public static void CustomBeginSplit(SplitterState state, GUIStyle style, bool vertical, params GUILayoutOption[] options)
 {
     object[] properties = new object[] { state.GetOriginalState(), style, vertical, options };
     GetSplitterGUILayout.GetMethod("BeginSplit", BindingFlags.Static | BindingFlags.Public)?.Invoke(null, properties);
 }