Class KeyboardValueKey
Represents a key on the keyboard that has a string value for input.
Implements
MonoBehaviour
Namespace: Microsoft.MixedReality.Toolkit.Experimental.UI
Assembly: cs.temp.dll.dll
Syntax
public class KeyboardValueKey : MonoBehaviour, MonoBehaviour
Fields
ShiftValue
The shifted string value for this key.
Declaration
public string ShiftValue
Field Value
Type | Description |
---|---|
String |
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 |
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. |
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. |
Implements
MonoBehaviour