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.

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.