Пример #1
0
    private void Awake()
    {
        VRTK_SDKManager.SubscribeLoadedSetupChanged(VRSetupLoaded);

        // Wait for the sabers to be loaded before loading any scenes
        saberManager.OnSabersLoaded.AddListener(SabersLoaded);
    }
Пример #2
0
 private void Awake()
 {
     VRTK_SDKManager.SubscribeLoadedSetupChanged(VRSetupLoaded);
 }
Пример #3
0
 // Use this for initialization
 void Start()
 {
     VRTK_SDKManager.SubscribeLoadedSetupChanged(SDK_Loaded);
 }
Пример #4
0
 protected void Awake()
 {
     VRTK_SDKManager.SubscribeLoadedSetupChanged(WaitForSDKSetup);
 }
Пример #5
0
 public override void BindInputs()
 {
     // SteamVR isn't loaded by the time this method is called, so we use this callback instead
     VRTK_SDKManager.SubscribeLoadedSetupChanged(SDK_Loaded);
 }