Property | Type | Description | |
---|---|---|---|
format | string | ||
isLocalized | bool | ||
isNumeric | bool | ||
maxLength | int | ||
sortingOrder | int | ||
text | string | ||
textId | string | ||
wrapSize | int |
Method | Description | |
---|---|---|
Awake ( ) : void |
Set up the UIText with using Text
|
|
GetType ( ) : UIType |
Get the type of the this item.
|
|
OnEnable ( ) : void |
Start will update the localization if required.
|
|
Parse ( object>.Dictionary |
Parse the content of the dictionary and create a new gameobject with this parameters
|
|
Update ( ) : void |
This will update the text based on formatting and localization settings. The localization will be updated only in Editor Mode to avoid unnecessary performance overhead.
|
|
WordWrap ( string text, int width ) : string |
Word wraps the given text to fit within the specified width.
|
Method | Description | |
---|---|---|
BreakLine ( string text, int pos, int max ) : int |
Locates position to break the given line so as to avoid breaking words.
|
public Parse ( object>.Dictionary |
||
dict | object>.Dictionary | |
return | void |
public static WordWrap ( string text, int width ) : string | ||
text | string | Text to be word wrapped |
width | int | Width, in characters, to which the text /// should be word wrapped |
return | string |