Table of Contents

Class UITextbox

Namespace
PAC.UI
public class UITextbox : MonoBehaviour
Inheritance
UITextbox

Fields

allowLetters

public bool allowLetters

Field Value

bool

allowNumbers

public bool allowNumbers

Field Value

bool

allowPunctuation

public bool allowPunctuation

Field Value

bool

allowSpaces

public bool allowSpaces

Field Value

bool

anchorPoint

public UITextboxAnchorPoint anchorPoint

Field Value

UITextboxAnchorPoint

backgroundColour

public Color backgroundColour

Field Value

Color

backgroundHoverColour

public Color backgroundHoverColour

Field Value

Color

backgroundPressedColour

public Color backgroundPressedColour

Field Value

Color

backgroundSelectedColour

public Color backgroundSelectedColour

Field Value

Color

height

public float height

Field Value

float

width

public float width

Field Value

float

Properties

prefix

public string prefix { get; }

Property Value

string

suffix

public string suffix { get; }

Property Value

string

text

public string text { get; }

Property Value

string

Methods

SetPrefix(string)

public void SetPrefix(string prefix)

Parameters

prefix string

SetSuffix(string)

public void SetSuffix(string suffix)

Parameters

suffix string

SetText(string)

public void SetText(string text)

Parameters

text string

SubscribeToFinishEvent(UnityAction)

public void SubscribeToFinishEvent(UnityAction call)

Parameters

call UnityAction

SubscribeToInputEvent(UnityAction)

public void SubscribeToInputEvent(UnityAction call)

Parameters

call UnityAction

UpdateAnchor()

public void UpdateAnchor()

UpdateDisplay()

public void UpdateDisplay()