Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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();
}

```