Class UnitEditor
Syntax
[Editor(typeof(IUnit))]
public class UnitEditor : GraphElementEditor<FlowGraphContext>, IDisposable
Constructors
Declaration
public UnitEditor(Metadata metadata)
Parameters
Properties
analysis
Declaration
protected UnitAnalysis analysis { get; }
Property Value
description
Declaration
protected UnitDescription description { get; }
Property Value
unit
Declaration
protected IUnit unit { get; }
Property Value
Methods
GetHeight(Single, GUIContent)
Declaration
protected override float GetHeight(float width, GUIContent label)
Parameters
Returns
Overrides
Unity.VisualScripting.GraphElementEditor<Unity.VisualScripting.FlowGraphContext>.GetHeight(System.Single, UnityEngine.GUIContent)
OnGUI(Rect, GUIContent)
Declaration
protected override void OnGUI(Rect position, GUIContent label)
Parameters
Overrides
Unity.VisualScripting.GraphElementEditor<Unity.VisualScripting.FlowGraphContext>.OnGUI(UnityEngine.Rect, UnityEngine.GUIContent)
Extension Methods