Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

InteractionManager.numSourceStates

public static int numSourceStates;

Description

(Read Only) The number of InteractionSourceState snapshots available for reading with InteractionManager.GetCurrentReading.

This can be used to reserve storage in an array for retrieving interaction source states without triggering an allocation.