Class UnitPortDefinitionInspector
Inheritance
UnitPortDefinitionInspector
Syntax
[Inspector(typeof(IUnitPortDefinition))]
public class UnitPortDefinitionInspector : Inspector, IDisposable
Constructors
Declaration
public UnitPortDefinitionInspector(Metadata metadata)
Parameters
Methods
GetDescriptionHeight(Single)
Declaration
protected float GetDescriptionHeight(float width)
Parameters
Type |
Name |
Description |
Single |
width |
|
Returns
GetHeight(Single, GUIContent)
Declaration
protected override float GetHeight(float width, GUIContent label)
Parameters
Returns
Overrides
GetHideLabelHeight(Single)
Declaration
protected float GetHideLabelHeight(float width)
Parameters
Type |
Name |
Description |
Single |
width |
|
Returns
GetKeyHeight(Single)
Declaration
protected float GetKeyHeight(float width)
Parameters
Type |
Name |
Description |
Single |
width |
|
Returns
GetLabelHeight(Single)
Declaration
protected float GetLabelHeight(float width)
Parameters
Type |
Name |
Description |
Single |
width |
|
Returns
Initialize()
Declaration
public override void Initialize()
Overrides
OnDescriptionGUI(Rect)
Declaration
protected void OnDescriptionGUI(Rect position)
Parameters
Type |
Name |
Description |
Rect |
position |
|
OnFieldsGUI(Rect)
Declaration
protected virtual void OnFieldsGUI(Rect position)
Parameters
Type |
Name |
Description |
Rect |
position |
|
OnGUI(Rect, GUIContent)
Declaration
protected sealed override void OnGUI(Rect position, GUIContent label)
Parameters
Overrides
OnHideLabelGUI(Rect)
Declaration
protected void OnHideLabelGUI(Rect position)
Parameters
Type |
Name |
Description |
Rect |
position |
|
OnKeyGUI(Rect)
Declaration
protected void OnKeyGUI(Rect position)
Parameters
Type |
Name |
Description |
Rect |
position |
|
OnLabelGUI(Rect)
Declaration
protected void OnLabelGUI(Rect position)
Parameters
Type |
Name |
Description |
Rect |
position |
|
Extension Methods