Namespace DocCodeSamples.Tests
Classes
Example
Example script demonstrating the quick-start workflow for reading actions.
ExampleScript
Example script exposing serialized action references.
InteractionsExampleScript
Example script demonstrating how to react to interactions on an action's callbacks.
MyDevice
Example custom device class using MyDeviceState as its state layout.
MyExampleInteraction
Example custom interaction that performs when an axis moves quickly from one extreme to the other.
MyPlayerControls
Example generated wrapper class for an .inputactions asset, as produced by Unity's Input Action Code Generator when "Generate C# Class" is enabled.
MyPlayerScript
Example script showing how to consume a C# class generated from an .inputactions asset via the "Generate C# Class" option.
MyValueShiftProcessor
MyValueShiftProcessorEditor
Example custom Editor UI for MyValueShiftProcessor.
Structs
MyDeviceState
Example state struct describing the memory layout of MyDevice.
MyGamepadState
Example state struct for a gamepad with a deadzone on each stick.
MyPlayerControls.GameplayActions
Accessor struct for the actions in the "gameplay" action map.
Interfaces
MyPlayerControls.IGameplayActions
Callback interface for the actions in the "gameplay" action map.