Editar

Compartir a través de


KeyboardValueKey Class

Definition

Represents a key on the keyboard that has a string value for input.

public ref class KeyboardValueKey : UnityEngine::MonoBehaviour
[UnityEngine.RequireComponent(typeof(UnityEngine.UI.Button))]
public class KeyboardValueKey : UnityEngine.MonoBehaviour
[<UnityEngine.RequireComponent(typeof(UnityEngine.UI.Button))>]
type KeyboardValueKey = class
    inherit MonoBehaviour
Public Class KeyboardValueKey
Inherits MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
KeyboardValueKey
Attributes
UnityEngine.RequireComponentAttribute

Constructors

KeyboardValueKey()

Fields

ShiftValue

The shifted string value for this key.

Value

The default string value for this key.

Methods

Shift(Boolean)

Called by the Keyboard when the shift key is pressed. Updates the text for this key using the Value and ShiftValue fields.

Applies to