Vixen
dd8b0a81
csharp
public enum InputActionType

What an action does with the value its bindings produce.

Read the guide page for this →

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)

  • Button

    A discrete press. Performs once when it crosses the press point, cancels on release.

  • Value

    A 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.

  • PassThrough

    Every 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