예제 #1
0
 void DoubleMouseUp(Vector2 position)
 {
     if (onDoubleMouseUp.IsNotNull())
     {
         onDoubleMouseUp.Invoke(position);
     }
 }
예제 #2
0
 void DoubleClick(Vector2 position)
 {
     singleMouseUpIsFired = false;
     if (onDoubleClick.IsNotNull())
     {
         onDoubleClick.Invoke(position);
     }
 }
예제 #3
0
 void SingleClick(Vector2 position)
 {
     if (onSingleClick.IsNotNull())
     {
         onSingleClick.Invoke(position);
     }
     if (singleMouseUpIsFired)
     {
         singleMouseUpIsFired = false;
         if (onSingleMouseUp.IsNotNull())
         {
             onSingleMouseUp.Invoke(position);
         }
     }
 }