Struct KeyboardAndMouse.Axis
Keyboard and mouse combo axis.
If the Unity axis string is null or empty, the positive and negative keys will be used.
Otherwise
Input.GetAxis(string) will be used.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: GlitchedPolygons.Input
Assembly: UnityScriptsLibrary.dll
Syntax
[Serializable]
public struct Axis
Fields
| Improve this Doc View SourcenegativeKey
Declaration
public KeyCode negativeKey
Field Value
| Type | Description |
|---|---|
| KeyCode |
positiveKey
Declaration
public KeyCode positiveKey
Field Value
| Type | Description |
|---|---|
| KeyCode |
unityAxis
Declaration
public string unityAxis
Field Value
| Type | Description |
|---|---|
| System.String |
value
Declaration
public float value
Field Value
| Type | Description |
|---|---|
| System.Single |
valueShiftSpeed
Declaration
public float valueShiftSpeed
Field Value
| Type | Description |
|---|---|
| System.Single |