Exemple #1
0
 // Token: 0x0600618D RID: 24973 RVA: 0x00226C60 File Offset: 0x00225060
 private void ApplyForcedSettings()
 {
     if (this.setting == VRCInputManager.InputSetting.ComfortTurning && VRCInputManager.ShouldForceDisableComfortTurning())
     {
         this._locked = true;
         if (this.toggle)
         {
             this.toggle.isOn         = false;
             this.toggle.interactable = false;
         }
     }
     if (this.setting == VRCInputManager.InputSetting.HeadLookWalk && VRCInputManager.ShouldForceEnableHeadLookWalk())
     {
         this._locked             = true;
         this.toggle.isOn         = true;
         this.toggle.interactable = false;
     }
     if (this.setting == VRCInputManager.InputSetting.ToggleTalk && VRCInputManager.ShouldForceTalkToggle())
     {
         this._locked             = true;
         this.toggle.isOn         = true;
         this.toggle.interactable = false;
     }
 }