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