Exemplo n.º 1
0
 public static void BeginHorizontalSplit(SplitterState state, GUIStyle style, params GUILayoutOption[] options)
 {
     CustomBeginSplit(state, style, false, options);
 }
Exemplo n.º 2
0
 public static void BeginVerticalSplit(SplitterState state, GUIStyle style, params GUILayoutOption[] options)
 {
     CustomBeginSplit(state, style, true, options);
 }
Exemplo n.º 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);
 }