示例#1
0
 public override void OnLevelEnd()
 {
     if (TouchStart != null)
     {
         foreach (TouchStartHandler d in TouchStart.GetInvocationList())
         {
             TouchStart -= (TouchStartHandler)d;
         }
     }
     if (TouchMove != null)
     {
         foreach (TouchMoveHandler d in TouchMove.GetInvocationList())
         {
             TouchMove -= (TouchMoveHandler)d;
         }
     }
     if (TouchEnd != null)
     {
         foreach (TouchEndHandler d in TouchEnd.GetInvocationList())
         {
             TouchEnd -= (TouchEndHandler)d;
         }
     }
 }