private void CreateTouches() { cachedTouches = new TouchPool(); mouseTouch = new Touch(); mouseTouch.fingerId = Touch.FingerID_Mouse; activeTouches = new List <Touch>(32); readOnlyActiveTouches = new ReadOnlyCollection <Touch>(activeTouches); }
void Reset() { device = null; mouseTouch = null; cachedTouches = null; activeTouches = null; readOnlyActiveTouches = null; touchControls = null; OnSetup = null; }
private void Reset() { device = null; mouseTouch = null; cachedTouches = null; activeTouches = null; readOnlyActiveTouches = null; touchControls = null; TouchManager.OnSetup = null; }
void CreateTouches() { cachedTouches = new TouchPool(); for (var i = 0; i < 3; i++) { mouseTouches[i] = new Touch(); mouseTouches[i].fingerId = Touch.FingerID_Mouse; } activeTouches = new List <Touch>(32); readOnlyActiveTouches = new ReadOnlyCollection <Touch>(activeTouches); }
void Reset() { device = null; for (var i = 0; i < 3; i++) { mouseTouches[i] = null; } cachedTouches = null; activeTouches = null; readOnlyActiveTouches = null; touchControls = null; OnSetup = null; }