Class GraphEditor
Syntax
[Editor(typeof(IGraph))]
public class GraphEditor : Inspector, IDisposable
Constructors
Declaration
public GraphEditor(Metadata metadata)
Parameters
Properties
graph
Declaration
protected IGraph graph { get; }
Property Value
icon
Declaration
protected virtual EditorTexture icon { get; }
Property Value
Methods
Declaration
protected float GetHeaderHeight(float width)
Parameters
Type |
Name |
Description |
Single |
width |
|
Returns
GetHeight(Single, GUIContent)
Declaration
protected override float GetHeight(float width, GUIContent label)
Parameters
Returns
Overrides
OnGUI(Rect, GUIContent)
Declaration
protected override void OnGUI(Rect position, GUIContent label)
Parameters
Overrides
Declaration
protected void OnHeaderGUI(Rect position)
Parameters
Type |
Name |
Description |
Rect |
position |
|
Extension Methods