protected virtual void OnEnable() { provider = requireComponent <LeapProvider>(); factory = requireComponent <HandFactory>(); provider.OnUpdateFrame += OnUpdateFrame; provider.OnFixedFrame += OnFixedFrame; }
protected virtual void Start() { Factory = requireComponent <HandFactory>(); //Felix if (Provider == null) { Provider = GetComponent <LeapProvider>(); } }
protected virtual void Start() { //provider = requireComponent<LeapProvider>(); factory = requireComponent <HandFactory>(); //Felix if (provider == null) { provider = GetComponent <LeapProvider>(); } //Felix /*if (Player == null) * { * Player = GetComponent<LeapPlayer>(); * }*/ }
protected virtual void Start() { provider = requireComponent <LeapProvider>(); factory = requireComponent <HandFactory>(); }