InputField
La référence est en anglais : elle est générée à partir des commentaires du code, écrits en anglais.
csharp
public sealed class InputField : SelectableNamespace NodeWorld.Flux.
A text field of a canvas of the world (uGUI or TextMeshPro). In VR the NodeWorld keyboard types in it; while a player types, the scripts get no key.
Properties
text
csharp
public string text { get; set; }The text in the field.
placeholder
csharp
public string placeholder { get; set; }The text shown while the field is empty.
isFocused
csharp
public bool isFocused { get; }The local player is typing in the field.
onValueChanged
csharp
public UiEvent<string> onValueChanged { get; }The text changed, with the new text.
onEndEdit
csharp
public UiEvent<string> onEndEdit { get; }The player left the field, with its text.
onSubmit
csharp
public UiEvent<string> onSubmit { get; }The player pressed Enter (or the blue key of the VR keyboard), with the text.
