프로퍼티 | 타입 | 설명 | |
---|---|---|---|
format | string | ||
isLocalized | bool | ||
isNumeric | bool | ||
maxLength | int | ||
sortingOrder | int | ||
text | string | ||
textId | string | ||
wrapSize | int |
메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
BreakLine ( string text, int pos, int max ) : int |
Locates position to break the given line so as to avoid breaking words.
|
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 |
리턴 | string |