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

            LeanFingerData.RemoveAll(fingerDatas);
        }
 /// <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);
 }