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.

StandaloneInputModule.forceModuleActive

public bool forceModuleActive;

Description

Force this module to be active.

If there is no module active with higher priority (ordered in the inspector) this module will be forced active even if valid enabling conditions are not met.