Class KeyboardValueKey
Represents a key on the keyboard that has a string value for input.
Namespace: Microsoft.MixedReality.Toolkit.Experimental.UI
Assembly: cs.temp.dll.dll
Syntax
public class KeyboardValueKey : MonoBehaviour
Fields
ShiftValue
The shifted string value for this key.
Declaration
public string ShiftValue
Field Value
Type | Description |
---|---|
String |
Value
The default string value for this key.
Declaration
public string Value
Field Value
Type | Description |
---|---|
String |
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.
Declaration
public void Shift(bool isShifted)
Parameters
Type | Name | Description |
---|---|---|
Boolean | isShifted | Indicates the state of shift, the key needs to be changed to. |