csharp
public enum InputActionTypeWhat an action does with the value its bindings produce.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Unity's three, because the distinction is real and every engine that shipped only "button" and "axis" grew the third one later under a worse name. The difference is entirely about when the action reports, not about the shape of the value.
Fields and properties (3)
ButtonA discrete press. Performs once when it crosses the press point, cancels on release.
ValueA continuous value with a rest position. Starts when it leaves the rest position, performs on every change while away from it, and cancels when it returns.
PassThroughEvery change from every binding, with no disambiguation and no rest position.
Used by (8)
- InputActionVixen.Input
- InputActionAssetReaderVixen.Input
- InputActionAssetTestsVixen.Input.Tests
- InputActionAssetWriterVixen.Input
- InputActionDataVixen.Input
- PlayerInputTestsVixen.Engine.Tests
- VxInputEmitterVixen.Input.Generators
- InputActionsDocumentVixen.Editor.AssetEditors