PixelCrushers.UITextField Class Reference

A UITextField can refer to a UI.Text, TMPro.TextMeshProUGUI, or SuperTextMesh. More...

Public Member Functions

 UITextField ()
 
 UITextField (UnityEngine.UI.Text uiText)
 
void SetActive (bool value)
 

Static Public Member Functions

static bool IsNull (UITextField uiTextField)
 Checks if a UI element is assigned to a UITextField.
 

Properties

UnityEngine.UI.Text uiText [get, set]
 The UI.Text assigned to this UI text field.
 
string text [get, set]
 The text content of the UI.Text or TextMeshProUGUI.
 
bool enabled [get, set]
 
Color color [get, set]
 
GameObject gameObject [get]
 
bool isActiveSelf [get]
 
bool activeInHierarchy [get]
 

Detailed Description

A UITextField can refer to a UI.Text, TMPro.TextMeshProUGUI, or SuperTextMesh.

Constructor & Destructor Documentation

◆ UITextField() [1/2]

PixelCrushers.UITextField.UITextField ( )
inline

◆ UITextField() [2/2]

PixelCrushers.UITextField.UITextField ( UnityEngine::UI::Text  uiText)
inline

Member Function Documentation

◆ IsNull()

static bool PixelCrushers.UITextField.IsNull ( UITextField  uiTextField)
inlinestatic

Checks if a UI element is assigned to a UITextField.

Parameters
uiTextFieldUITextField to check.
Returns
true if no UI element is assigned; otherwise false.

◆ SetActive()

void PixelCrushers.UITextField.SetActive ( bool  value)
inline

Property Documentation

◆ activeInHierarchy

bool PixelCrushers.UITextField.activeInHierarchy
get

◆ color

Color PixelCrushers.UITextField.color
getset

◆ enabled

bool PixelCrushers.UITextField.enabled
getset

◆ gameObject

GameObject PixelCrushers.UITextField.gameObject
get

◆ isActiveSelf

bool PixelCrushers.UITextField.isActiveSelf
get

◆ text

string PixelCrushers.UITextField.text
getset

The text content of the UI.Text or TextMeshProUGUI.

◆ uiText

UnityEngine.UI.Text PixelCrushers.UITextField.uiText
getset

The UI.Text assigned to this UI text field.


The documentation for this class was generated from the following file: