private void OnEnable() { aliasController = VRTK_DeviceFinder.GetScriptAliasController(gameObject); if (enableControllerCoroutine != null) { StopCoroutine(enableControllerCoroutine); } enableControllerCoroutine = StartCoroutine(Enable()); }
// Token: 0x0600174F RID: 5967 RVA: 0x0007CBB0 File Offset: 0x0007ADB0 protected virtual void OnEnable() { this.aliasController = VRTK_DeviceFinder.GetScriptAliasController(base.gameObject); if (this.aliasController == null) { this.aliasController = base.gameObject; } this.index = VRTK_DeviceFinder.GetControllerIndex(base.gameObject); this.OnControllerEnabled(this.SetEventPayload(uint.MaxValue)); }
protected virtual void OnEnable() { aliasController = VRTK_DeviceFinder.GetScriptAliasController(gameObject); if (aliasController == null) { aliasController = gameObject; } index = VRTK_DeviceFinder.GetControllerIndex(gameObject); OnControllerEnabled(SetEventPayload()); }
protected virtual void OnEnable() { aliasController = VRTK_DeviceFinder.GetScriptAliasController(gameObject); if (aliasController == null) { aliasController = gameObject; } index = VRTK_DeviceFinder.GetControllerIndex(gameObject); SetControllerType(); StartEmitControllerEnabledAtEndOfFrame(); ManageControllerModelListeners(true); }
protected virtual void OnEnable() { aliasController = VRTK_DeviceFinder.GetScriptAliasController(gameObject); if (aliasController == null) { aliasController = gameObject; } if (enableControllerCoroutine != null) { StopCoroutine(enableControllerCoroutine); } enableControllerCoroutine = StartCoroutine(Enable()); }