Exemplo n.º 1
0
    private void Awake()
    {
        VRTK_SDKManager.SubscribeLoadedSetupChanged(VRSetupLoaded);

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