protected virtual void OnEnable()
 {
     cachedPitchYaw = GetComponent <LeanPitchYaw>();
 }
Example #2
0
        protected virtual void OnEnable()
        {
            cachedPitchYaw = GetComponent <LeanPitchYaw>();

            LeanTouch.OnFingerTap += FingerTap;
        }