Skip to content

miguel12345/EditorGUISplitView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#EditorGUISplitView

EditorGUISplitView is an utility view that allows you to easily add a split view with draggable resize functionality to your Editor Windows.

It couldn't be easier to use

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

About

A split view to be used in Unity Editor Windows

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages