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.

HoloLensInputModule.ShouldActivateModule

public bool ShouldActivateModule();

Description

See BaseInputModule.

Overriden to add HoloLens-specific logic. Will only return true if HoloLens is supported and has been targeted in VR build settings.