TextFieldConstructor

Cambiar al Manual
public TextField ();
public TextField (int maxLength, bool multiline, bool isPasswordField, char maskChar);

Parámetros

maxLengthThe maximum number of characters this textfield can hold. If 0, there is no limit.
multilineSet this to true to allow multiple lines in the textfield and false if otherwise.
isPasswordFieldSet this to true to mask the characters and false if otherwise.
maskCharThe character used for masking in a password field.

Descripción

Creates a new textfield.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961