Esempio n. 1
0
        protected virtual void OnDisable()
        {
            LeanTouch.OnFingerDown -= HandleFingerDown;
            LeanTouch.OnFingerUp   -= HandleFingerUp;

            LeanFingerData.RemoveAll(fingerDatas);
        }
Esempio n. 2
0
 /// <summary>If you've set Use to ManuallyAddedFingers, then you can call this method to manually remove all fingers.</summary>
 public void RemoveAllFingers()
 {
     LeanFingerData.RemoveAll(fingerDatas, fingerDataPool);
 }