Class MachineEditor
Implements
Inherited Members
Namespace: Unity.VisualScripting
Assembly: Unity.VisualScripting.Core.Editor.dll
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 |
---|---|
bool |
showHeader
Declaration
protected virtual bool showHeader { get; }
Property Value
Type | Description |
---|---|
bool |
Methods
GetConfigurationHeight(float)
Declaration
protected virtual float GetConfigurationHeight(float width)
Parameters
Type | Name | Description |
---|---|---|
float | width |
Returns
Type | Description |
---|---|
float |
GetHeaderHeight(float)
Declaration
protected virtual float GetHeaderHeight(float width)
Parameters
Type | Name | Description |
---|---|---|
float | width |
Returns
Type | Description |
---|---|
float |
GetHeight(float, GUIContent)
Declaration
protected override sealed float GetHeight(float width, GUIContent label)
Parameters
Type | Name | Description |
---|---|---|
float | width | |
GUIContent | label |
Returns
Type | Description |
---|---|
float |
Overrides
GetNestHeight(float)
Declaration
protected virtual float GetNestHeight(float width)
Parameters
Type | Name | Description |
---|---|---|
float | width |
Returns
Type | Description |
---|---|
float |
OnConfigurationGUI(Rect)
Declaration
protected virtual void OnConfigurationGUI(Rect position)
Parameters
Type | Name | Description |
---|---|---|
Rect | position |
OnGUI(Rect, GUIContent)
Declaration
protected override sealed 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 |