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