PixelCrushers.UIInputField Class Reference

A UIInputField can refer to a UI.Text or TMPro.TextMeshProUGUI. More...

Public Member Functions

 UIInputField ()
 
 UIInputField (UnityEngine.UI.InputField uiInputField)
 
void SetActive (bool value)
 
void ActivateInputField ()
 

Static Public Member Functions

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

Properties

UnityEngine.UI.InputField uiInputField [get, set]
 The UI.Text assigned to this UI text field.
 
string text [get, set]
 The text content of the UI.Text or TextMeshProUGUI.
 
int characterLimit [get, set]
 
bool enabled [get, set]
 
GameObject gameObject [get]
 
bool isActiveSelf [get]
 
bool activeInHierarchy [get]
 

Detailed Description

A UIInputField can refer to a UI.Text or TMPro.TextMeshProUGUI.

Constructor & Destructor Documentation

◆ UIInputField() [1/2]

PixelCrushers.UIInputField.UIInputField ( )
inline

◆ UIInputField() [2/2]

PixelCrushers.UIInputField.UIInputField ( UnityEngine::UI::InputField  uiInputField)
inline

Member Function Documentation

◆ ActivateInputField()

void PixelCrushers.UIInputField.ActivateInputField ( )
inline

◆ IsNull()

static bool PixelCrushers.UIInputField.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.UIInputField.SetActive ( bool  value)
inline

Property Documentation

◆ activeInHierarchy

bool PixelCrushers.UIInputField.activeInHierarchy
get

◆ characterLimit

int PixelCrushers.UIInputField.characterLimit
getset

◆ enabled

bool PixelCrushers.UIInputField.enabled
getset

◆ gameObject

GameObject PixelCrushers.UIInputField.gameObject
get

◆ isActiveSelf

bool PixelCrushers.UIInputField.isActiveSelf
get

◆ text

string PixelCrushers.UIInputField.text
getset

The text content of the UI.Text or TextMeshProUGUI.

◆ uiInputField

UnityEngine.UI.InputField PixelCrushers.UIInputField.uiInputField
getset

The UI.Text assigned to this UI text field.


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