Exemple #1
0
    private void Awake()
    {
        VRTK_SDKManager.SubscribeLoadedSetupChanged(VRSetupLoaded);

        // Wait for the sabers to be loaded before loading any scenes
        saberManager.OnSabersLoaded.AddListener(SabersLoaded);
    }
Exemple #2
0
 private void Awake()
 {
     VRTK_SDKManager.SubscribeLoadedSetupChanged(VRSetupLoaded);
 }
Exemple #3
0
 // Use this for initialization
 void Start()
 {
     VRTK_SDKManager.SubscribeLoadedSetupChanged(SDK_Loaded);
 }
Exemple #4
0
 protected void Awake()
 {
     VRTK_SDKManager.SubscribeLoadedSetupChanged(WaitForSDKSetup);
 }
 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);
 }