protected virtual void LoadedSetupChanged(VRTK_SDKManager sender, VRTK_SDKManager.LoadedSetupChangeEventArgs e)
 {
     if (this != null && sdkManager != null && gameObject.activeInHierarchy)
     {
         SetCanvasCamera();
     }
 }
 protected virtual void LoadedSetupChanged(VRTK_SDKManager sender, VRTK_SDKManager.LoadedSetupChangeEventArgs e)
 {
     if (sdkManager != null && gameObject.activeInHierarchy)
     {
         UpdateTransform();
     }
 }
示例#3
0
 protected virtual void LoadedSetupChanged(VRTK_SDKManager sender, VRTK_SDKManager.LoadedSetupChangeEventArgs e)
 {
     if (sdkManager != null)
     {
         ChildToSDKObject();
     }
 }
示例#4
0
 protected virtual void LoadedSetupChanged(VRTK_SDKManager sender, VRTK_SDKManager.LoadedSetupChangeEventArgs e)
 {
     if (VRTK_SDKManager.ValidInstance() && gameObject.activeInHierarchy)
     {
         ChildToSDKObject();
     }
 }
示例#5
0
 // Token: 0x06001B4C RID: 6988 RVA: 0x0008E9B4 File Offset: 0x0008CBB4
 private void OnLoadedSetupChanged(VRTK_SDKManager.LoadedSetupChangeEventArgs e)
 {
     VRTK_SDKManager.LoadedSetupChangeEventHandler loadedSetupChanged = this.LoadedSetupChanged;
     if (loadedSetupChanged != null)
     {
         loadedSetupChanged(this, e);
     }
 }
 protected virtual void OnLoadedSetupChanged(VRTK_SDKManager sender, VRTK_SDKManager.LoadedSetupChangeEventArgs e)
 {
     Show(ViewingState.Status);
     if (playareaSync && currentPlayarea != null)
     {
         Transform newPlayarea = VRTK_DeviceFinder.PlayAreaTransform();
         newPlayarea.transform.position = currentPlayarea.transform.position;
         newPlayarea.transform.rotation = currentPlayarea.transform.rotation;
         VRTK_SharedMethods.SetGlobalScale(newPlayarea, currentPlayarea.transform.lossyScale);
     }
     currentPlayarea = VRTK_DeviceFinder.PlayAreaTransform();
 }
 protected virtual void LoadedSetupChanged(VRTK_SDKManager sender, VRTK_SDKManager.LoadedSetupChangeEventArgs e)
 {
     SetCanvasCamera();
 }
示例#8
0
 // Token: 0x06001BC9 RID: 7113 RVA: 0x0009140E File Offset: 0x0008F60E
 protected virtual void LoadedSetupChanged(VRTK_SDKManager sender, VRTK_SDKManager.LoadedSetupChangeEventArgs e)
 {
     this.UpdateTransform();
 }
示例#9
0
 // Token: 0x06001B76 RID: 7030 RVA: 0x0008F87A File Offset: 0x0008DA7A
 protected virtual void OnLoadedSetupChanged(VRTK_SDKManager sender, VRTK_SDKManager.LoadedSetupChangeEventArgs e)
 {
     this.Show(VRTK_SDKSetupSwitcher.ViewingState.Status);
 }
示例#10
0
 protected virtual void LoadedSetupChanged(VRTK_SDKManager sender, VRTK_SDKManager.LoadedSetupChangeEventArgs e)
 {
     ConfigureForCurrentSDKSetup();
 }
 protected virtual void LoadedSetupChanged(VRTK_SDKManager sender, VRTK_SDKManager.LoadedSetupChangeEventArgs e)
 {
     CheckControllersReady();
     previousControllerSDK = VRTK_SDK_Bridge.GetControllerSDK();
 }