Class MachineEditor
Inheritance
MachineEditor
Syntax
[Editor(typeof(IMachine))]
public class MachineEditor : Inspector, IDisposable
Constructors
Declaration
public MachineEditor(Metadata metadata)
Parameters
Properties
Declaration
protected Metadata headerSummaryMetadata { get; }
Property Value
Declaration
protected Metadata headerTitleMetadata { get; }
Property Value
showConfiguration
Declaration
protected virtual bool showConfiguration { get; }
Property Value
Declaration
protected virtual bool showHeader { get; }
Property Value
Methods
GetConfigurationHeight(Single)
Declaration
protected virtual float GetConfigurationHeight(float width)
Parameters
Type |
Name |
Description |
Single |
width |
|
Returns
Declaration
protected virtual float GetHeaderHeight(float width)
Parameters
Type |
Name |
Description |
Single |
width |
|
Returns
GetHeight(Single, GUIContent)
Declaration
protected override sealed float GetHeight(float width, GUIContent label)
Parameters
Returns
Overrides
GetNestHeight(Single)
Declaration
protected virtual float GetNestHeight(float width)
Parameters
Type |
Name |
Description |
Single |
width |
|
Returns
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
Overrides
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 |
|
Extension Methods