private void OnDestroy() { if (_swipeRecognizer == null || _tapRecognizer == null) { return; } TouchKit.removeGestureRecognizer(_swipeRecognizer); TouchKit.removeGestureRecognizer(_tapRecognizer); }
private void OnDisable() { TouchKit.removeGestureRecognizer(rotationRecognizer); }