protected virtual void OnEnable()
        {
            P3dInputManager.EnsureThisComponentExists();

            P3dInputManager.OnFingerDown += HandleFingerDown;
            P3dInputManager.OnFingerUp   += HandleFingerUp;
        }
Example #2
0
        protected virtual void OnEnable()
        {
            P3dInputManager.EnsureThisComponentExists();

            P3dInputManager.OnFingerDown += HandleFingerDown;

            foreach (var finger in P3dInputManager.Fingers)
            {
                HandleFingerDown(finger);
            }
        }