LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

InteractionSourceState.selectPressedAmount

public float selectPressedAmount;

Description

Normalized amount ([0, 1]) representing how much select is pressed.

Depending on the InteractionSourceType of the interaction source, this returning a non-zero could represent a number of equivalent things: main button on a blicker, air-tap on a hand, and the trigger on a motion controller.