VR Development Framework
v 1.0.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
override void AVR.UI.VRInput.Awake ( )
inlineprotected

Definition at line 43 of file VRInput.cs.

44  {
45  if (Instance != null) GameObject.Destroy(Instance);
46  Instance = this;
47 
48  DontDestroyOnLoad(this);
49 
50  GetComponent<BaseInputModule>().inputOverride = this;
51  }
static VRInput Instance
Singleton instance of this class. There should only be one VRInput component.
Definition: VRInput.cs:19