// Use this for initialization
 void Start()
 {
     SGPushStartedEvent.RegisterListener(OnSGPushStarted);
     SGPushChangedEvent.RegisterListener(OnSGPushChanged);
     SGPushEndedEvent.RegisterListener(OnSGPushEnded);
     SGPushCanceledEvent.RegisterListener(OnSGPushCanceled);
 }
 void OnDestroy()
 {
     SGPushStartedEvent.UnregisterListener(OnSGPushStarted);
     SGPushChangedEvent.UnregisterListener(OnSGPushChanged);
     SGPushEndedEvent.UnregisterListener(OnSGPushEnded);
     SGPushCanceledEvent.UnregisterListener(OnSGPushCanceled);
 }
 void OnSGPushEnded(SGPushEndedEvent gesture)
 {
     Debug.Log($"<Color=green>{gesture.Description}</Color>");
 }