Class ExampleScript
Example script exposing serialized action references.
Inherited Members
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.FindAnyObjectByType<T>()
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Object.FindObjectsByType<T>()
Object.FindObjectsByType<T>(FindObjectsInactive)
Namespace: DocCodeSamples.Tests
Assembly: Unity.InputSystem.DocCodeSamples.dll
Syntax
public class ExampleScript : MonoBehaviour
Fields
jump
Reference to the "jump" action.
Declaration
public InputAction jump
Field Value
| Type | Description |
|---|---|
| InputAction |
move
Reference to the "move" action.
Declaration
public InputAction move
Field Value
| Type | Description |
|---|---|
| InputAction |