C# Class Forge.Editing.DataWindow

Inheritance: EditorWindow
Afficher le fichier Open project: jacobdufault/forge-unity

Méthodes publiques

Méthode Description
DrawAddData ( IQueryableEntity entity ) : void

Méthodes protégées

Méthode Description
OnDisable ( ) : void
OnEnable ( ) : void

Setup references.

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

We want to constantly redraw the inspector.

Private Methods

Méthode 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 méthode

public DrawAddData ( IQueryableEntity entity ) : void
entity IQueryableEntity
Résultat void

OnDisable() protected méthode

protected OnDisable ( ) : void
Résultat void

OnEnable() protected méthode

Setup references.
protected OnEnable ( ) : void
Résultat void

OnSceneGUI() protected méthode

protected OnSceneGUI ( SceneView sceneView ) : void
sceneView UnityEditor.SceneView
Résultat void

Update() protected méthode

We want to constantly redraw the inspector.
protected Update ( ) : void
Résultat void