Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/miguel12345/EditorGUISplitView
A split view to be used in Unity Editor Windows
https://github.com/miguel12345/EditorGUISplitView
Last synced: 2 months ago
JSON representation
A split view to be used in Unity Editor Windows
- Host: GitHub
- URL: https://github.com/miguel12345/EditorGUISplitView
- Owner: miguel12345
- Created: 2016-09-29T14:45:16.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-05-22T07:50:07.000Z (over 5 years ago)
- Last Synced: 2024-08-03T05:20:04.631Z (5 months ago)
- Language: C#
- Size: 389 KB
- Stars: 91
- Watchers: 7
- Forks: 21
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-unity-open-source-on-github - EditorGUISplitView - A split view to be used in Unity Editor Windows (Editor Window)
README
#EditorGUISplitView
_EditorGUISplitView_ is an utility view that allows you to easily add a split view with draggable resize functionality to your Editor Windows.
![](usage1.gif)
It couldn't be easier to use
```c#
EditorGUISplitView horizontalSplitView = new EditorGUISplitView (EditorGUISplitView.Direction.Horizontal);
EditorGUISplitView verticalSplitView = new EditorGUISplitView (EditorGUISplitView.Direction.Vertical);public void OnGUI ()
{
horizontalSplitView.BeginSplitView ();
DrawView1 ();
horizontalSplitView.Split ();
verticalSplitView.BeginSplitView ();
DrawView2 ();
verticalSplitView.Split ();
DrawView2 ();
verticalSplitView.EndSplitView ();
horizontalSplitView.EndSplitView ();
Repaint();
}```