Exemple #1
0
        // Token: 0x0600171F RID: 5919 RVA: 0x0007C08F File Offset: 0x0007A28F
        private static IEnumerator SetEventSystemOfBaseInputModulesAfterFrameDelay(EventSystem eventSystem)
        {
            yield return(null);

            VRTK_EventSystem.SetEventSystemOfBaseInputModules(eventSystem);
            yield break;
        }
Exemple #2
0
 // Token: 0x0600171B RID: 5915 RVA: 0x0007BFB8 File Offset: 0x0007A1B8
 protected override void OnDisable()
 {
     base.OnDisable();
     Object.Destroy(this.vrInputModule);
     if (this.previousEventSystem != null)
     {
         this.previousEventSystem.enabled = true;
         VRTK_EventSystem.CopyValuesFrom(this, this.previousEventSystem);
         VRTK_EventSystem.SetEventSystemOfBaseInputModules(this.previousEventSystem);
     }
 }