C# Class Forge.Editing.DataWindow

Inheritance: EditorWindow
显示文件 Open project: jacobdufault/forge-unity

Public Methods

Method Description
DrawAddData ( IQueryableEntity entity ) : void

Protected Methods

Method Description
OnDisable ( ) : void
OnEnable ( ) : void

Setup references.

OnSceneGUI ( SceneView sceneView ) : void
Update ( ) : void

We want to constantly redraw the inspector.

Private Methods

Method Description
AddDataMenuItem ( ) : void
DrawInspector ( IQueryableEntity entity, GameObject context ) : void

Called when we have an entity to inspect.

DrawNoContainer ( GameObject gameObject ) : void

Called when there is a GameObject selected, but it does not have an EntityContainer.

DrawNothingSelected ( ) : void

Called when there is no GameObject currently selected.

GUIToScreenRect ( Rect guiRect ) : Rect
Init ( ) : void
OnGUI ( ) : void

Method Details

DrawAddData() public method

public DrawAddData ( IQueryableEntity entity ) : void
entity IQueryableEntity
return void

OnDisable() protected method

protected OnDisable ( ) : void
return void

OnEnable() protected method

Setup references.
protected OnEnable ( ) : void
return void

OnSceneGUI() protected method

protected OnSceneGUI ( SceneView sceneView ) : void
sceneView UnityEditor.SceneView
return void

Update() protected method

We want to constantly redraw the inspector.
protected Update ( ) : void
return void