C# Class UnityContrib.UnityEditor.BaseEditorWindow

Base implementation for T:UnityEngine.EditorWindow.
Inheritance: EditorWindow
Show file Open project: UnityContrib/framework

Protected Methods

Method Description
OnEnable ( ) : void

Called by Unity when window is enabled.

OnGUI ( ) : void

Called by Unity when you should draw the controls of the window.

OnMoved ( ) : void

Called when the window have moved.

OnPlayStarted ( ) : void

Called when the projected is started.

OnPlayStopped ( ) : void

Called when the project is stopped.

OnResized ( ) : void

Called when the window have resized.

Update ( ) : void

Called by Unity 100 times a second.

Private Methods

Method Description
CheckBoundaries ( ) : void

Calls P:OnMoved if window moved and P:OnResized if resized.

CheckPlayingState ( ) : void

Calls P:OnPlayStarted if playing started and P:OnPlayStopped if stopped.

Method Details

OnEnable() protected method

Called by Unity when window is enabled.
protected OnEnable ( ) : void
return void

OnGUI() protected method

Called by Unity when you should draw the controls of the window.
protected OnGUI ( ) : void
return void

OnMoved() protected method

Called when the window have moved.
protected OnMoved ( ) : void
return void

OnPlayStarted() protected method

Called when the projected is started.
protected OnPlayStarted ( ) : void
return void

OnPlayStopped() protected method

Called when the project is stopped.
protected OnPlayStopped ( ) : void
return void

OnResized() protected method

Called when the window have resized.
protected OnResized ( ) : void
return void

Update() protected method

Called by Unity 100 times a second.
protected Update ( ) : void
return void