Class MachineEditor
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[Editor(typeof(IMachine))]
public class MachineEditor : Inspector, IDisposable
Constructors
MachineEditor(Metadata)
Declaration
public MachineEditor(Metadata metadata)
Parameters
Type | Name | Description |
---|---|---|
Metadata | metadata |
Properties
headerSummaryMetadata
Declaration
protected Metadata headerSummaryMetadata { get; }
Property Value
Type | Description |
---|---|
Metadata |
headerTitleMetadata
Declaration
protected Metadata headerTitleMetadata { get; }
Property Value
Type | Description |
---|---|
Metadata |
showConfiguration
Declaration
protected virtual bool showConfiguration { get; }
Property Value
Type | Description |
---|---|
Boolean |
showHeader
Declaration
protected virtual bool showHeader { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
GetConfigurationHeight(Single)
Declaration
protected virtual float GetConfigurationHeight(float width)
Parameters
Type | Name | Description |
---|---|---|
Single | width |
Returns
Type | Description |
---|---|
Single |
GetHeaderHeight(Single)
Declaration
protected virtual float GetHeaderHeight(float width)
Parameters
Type | Name | Description |
---|---|---|
Single | width |
Returns
Type | Description |
---|---|
Single |
GetHeight(Single, GUIContent)
Declaration
protected sealed override float GetHeight(float width, GUIContent label)
Parameters
Type | Name | Description |
---|---|---|
Single | width | |
GUIContent | label |
Returns
Type | Description |
---|---|
Single |
Overrides
GetNestHeight(Single)
Declaration
protected virtual float GetNestHeight(float width)
Parameters
Type | Name | Description |
---|---|---|
Single | width |
Returns
Type | Description |
---|---|
Single |
OnConfigurationGUI(Rect)
Declaration
protected virtual void OnConfigurationGUI(Rect position)
Parameters
Type | Name | Description |
---|---|---|
Rect | position |
OnGUI(Rect, GUIContent)
Declaration
protected sealed override void OnGUI(Rect position, GUIContent label)
Parameters
Type | Name | Description |
---|---|---|
Rect | position | |
GUIContent | label |
Overrides
OnHeaderGUI(Rect)
Declaration
protected virtual void OnHeaderGUI(Rect headerPosition)
Parameters
Type | Name | Description |
---|---|---|
Rect | headerPosition |
OnNestGUI(Rect)
Declaration
protected virtual void OnNestGUI(Rect nestPosition)
Parameters
Type | Name | Description |
---|---|---|
Rect | nestPosition |