Property | Type | Description | |
---|---|---|---|
includeTextInAutoCollider | bool | ||
spriteText | SpriteText, | ||
text | string | ||
textOffsetZ | float |
Property | Type | Description | |
---|---|---|---|
aggregateLayers | SpriteRoot[][], | ||
bottomRightEdge | Vector2 | ||
changeDelegate | EZValueChangedDelegate | ||
container | IUIContainer | ||
customCollider | bool | ||
defaultTextAlignment | SpriteText.Alignment_Type | ||
defaultTextAnchor | SpriteText.Anchor_Pos | ||
inputDelegate | EZInputDelegate | ||
m_controlIsEnabled | bool | ||
nullCamera | bool | ||
savedColliderSize | Vector3 | ||
topLeftEdge | Vector2 |
Method | Description | |
---|---|---|
AddInputDelegate ( EZInputDelegate del ) : void | ||
AddValueChangedDelegate ( EZValueChangedDelegate del ) : void | ||
Copy ( IControl c ) : void | ||
Copy ( IControl c, ControlCopyFlags flags ) : void | ||
Copy ( SpriteRoot, s ) : void |
Copies all of the specified control's settings to this control, provided they are of the same type. One exception is that layers are not copied as this would require a new allocation and could negatively impact performance at runtime.
|
|
Copy ( SpriteRoot, s, ControlCopyFlags flags ) : void |
Copies all of the specified control's settings to this control, provided they are of the same type. One exception is that layers are not copied as this would require a new allocation and could negatively impact performance at runtime.
|
|
DrawPostStateSelectGUI ( int selState ) : int | ||
DrawPreStateSelectGUI ( int selState, bool inspector ) : int | ||
DrawPreTransitionUI ( int selState, IGUIScriptSelector gui ) : void | ||
EnumStateElements ( ) : string[] | ||
FindOuterEdges ( ) : void | ||
GetStateElementInfo ( int stateNum ) : ASCSEInfo, | ||
GetStateLabel ( int index ) : string |
Gets/sets the array of strings that correspond to each control state.
|
|
GetTransitions ( int index ) : EZTransitionList | ||
GotFocus ( ) : bool | ||
Hide ( bool tf ) : void | ||
OnDrawGizmos ( ) : void | ||
OnInput ( POINTER_INFO, ptr ) : void | ||
RemoveInputDelegate ( EZInputDelegate del ) : void | ||
RemoveValueChangedDelegate ( EZValueChangedDelegate del ) : void | ||
RequestContainership ( IUIContainer cont ) : bool | ||
SetCamera ( Camera c ) : void | ||
SetInputDelegate ( EZInputDelegate del ) : void | ||
SetStateLabel ( int index, string label ) : void |
Sets the string for the specified state label.
|
|
SetValueChangedDelegate ( EZValueChangedDelegate del ) : void | ||
Start ( ) : void | ||
TruncateBottom ( float pct ) : void | ||
TruncateLeft ( float pct ) : void | ||
TruncateRight ( float pct ) : void | ||
TruncateTop ( float pct ) : void | ||
Unclip ( ) : void | ||
Untruncate ( ) : void | ||
UpdateCollider ( ) : void |
Updates the collider of the control so that it encompasses the extents of the control's content. NOTE: To include the control's associated text in the calculation, be sure to check the includeTextInAutoCollider box.
|
Method | Description | |
---|---|---|
AddCollider ( ) : void | ||
Awake ( ) : void | ||
Init ( ) : void | ||
OnDisable ( ) : void | ||
OnEnable ( ) : void | ||
OnResize ( float newWidth, float newHeight, SpriteRoot, sprite ) : void | ||
UseStateLabel ( int index ) : void |
public AddInputDelegate ( EZInputDelegate del ) : void | ||
del | EZInputDelegate | |
return | void |
public AddValueChangedDelegate ( EZValueChangedDelegate del ) : void | ||
del | EZValueChangedDelegate | |
return | void |
public Copy ( IControl c, ControlCopyFlags flags ) : void | ||
c | IControl | |
flags | ControlCopyFlags | |
return | void |
public Copy ( SpriteRoot, s ) : void | ||
s | SpriteRoot, | Reference to the control whose settings are to be copied to this control. |
return | void |
public Copy ( SpriteRoot, s, ControlCopyFlags flags ) : void | ||
s | SpriteRoot, | Reference to the control whose settings are to be copied to this control. |
flags | ControlCopyFlags | |
return | void |
public DrawPostStateSelectGUI ( int selState ) : int | ||
selState | int | |
return | int |
public DrawPreStateSelectGUI ( int selState, bool inspector ) : int | ||
selState | int | |
inspector | bool | |
return | int |
public DrawPreTransitionUI ( int selState, IGUIScriptSelector gui ) : void | ||
selState | int | |
gui | IGUIScriptSelector | |
return | void |
public GetStateElementInfo ( int stateNum ) : ASCSEInfo, | ||
stateNum | int | |
return | ASCSEInfo, |
public GetTransitions ( int index ) : EZTransitionList | ||
index | int | |
return | EZTransitionList |
protected OnResize ( float newWidth, float newHeight, SpriteRoot, sprite ) : void | ||
newWidth | float | |
newHeight | float | |
sprite | SpriteRoot, | |
return | void |
public RemoveInputDelegate ( EZInputDelegate del ) : void | ||
del | EZInputDelegate | |
return | void |
public RemoveValueChangedDelegate ( EZValueChangedDelegate del ) : void | ||
del | EZValueChangedDelegate | |
return | void |
public RequestContainership ( IUIContainer cont ) : bool | ||
cont | IUIContainer | |
return | bool |
public SetInputDelegate ( EZInputDelegate del ) : void | ||
del | EZInputDelegate | |
return | void |
public SetStateLabel ( int index, string label ) : void | ||
index | int | index of the state to set. |
label | string | The string to set as the state's label. |
return | void |
public SetValueChangedDelegate ( EZValueChangedDelegate del ) : void | ||
del | EZValueChangedDelegate | |
return | void |
protected SpriteRoot[][], aggregateLayers | ||
return | SpriteRoot[][], |
protected EZValueChangedDelegate changeDelegate | ||
return | EZValueChangedDelegate |
protected SpriteText.Alignment_Type defaultTextAlignment | ||
return | SpriteText.Alignment_Type |
protected SpriteText.Anchor_Pos defaultTextAnchor | ||
return | SpriteText.Anchor_Pos |