Text¶
More information can be found in the Unity API Reference and maybe in the Unity Manual.
Members¶
Member |
Description |
---|---|
Methods¶
Method |
Description |
---|---|
|
|
|
|
Static members¶
Member |
Description |
---|---|
|
Details¶
-
class
Text
¶ -
bool
alignByGeometry
¶
-
const int
depth
¶
-
const float
flexibleHeight
¶
-
const float
flexibleWidth
¶
-
int
fontSize
¶
-
const GameObject
gameObject
¶
-
bool
isMaskingGraphic
¶
-
const int
layoutPriority
¶
-
float
lineSpacing
¶
-
bool
maskable
¶
-
const float
minHeight
¶
-
const float
minWidth
¶
-
const float
pixelsPerUnit
¶
-
const float
preferredHeight
¶
-
const float
preferredWidth
¶
-
bool
raycastTarget
¶
-
const RectTransform
rectTransform
¶
-
bool
resizeTextForBestFit
¶
-
int
resizeTextMaxSize
¶
-
int
resizeTextMinSize
¶
-
bool
supportRichText
¶
-
string
text
¶
-
void
CalculateLayoutInputHorizontal
()¶
-
void
CalculateLayoutInputVertical
()¶
-
void
CrossFadeAlpha
(float alpha, float duration, bool ignoreTimeScale)¶
-
void
CrossFadeColor
(Color targetColor, float duration, bool ignoreTimeScale, bool useAlpha, bool useRGB)¶
-
void
FontTextureChanged
()¶
-
void
GraphicUpdateComplete
()¶
-
bool
IsActive
()¶
-
bool
IsDestroyed
()¶
-
void
LayoutComplete
()¶
-
void
OnCullingChanged
()¶
-
void
RecalculateClipping
()¶
-
void
RecalculateMasking
()¶
-
void
SetAllDirty
()¶
-
void
SetLayoutDirty
()¶
-
void
SetMaterialDirty
()¶
-
void
SetNativeSize
()¶
-
void
SetVerticesDirty
()¶
-
string
ToString
()¶
-
static const Material
defaultGraphicMaterial
-
bool