コード例 #1
0
 /// <summary>
 /// Raise OnPress event manually.
 /// </summary>
 /// <param name="tea">Tea.</param>
 public void RaisePressEvent(GuiTouchEventArg tea)
 {
     if (OnPress != null)
     {
         OnPress.Invoke(this, tea);
     }
 }
コード例 #2
0
 /// <summary>
 /// Raise OnClick event manually.
 /// </summary>
 /// <param name="tea">Tea.</param>
 public void RaiseClickEvent(GuiTouchEventArg tea)
 {
     if (OnClick != null)
     {
         OnClick.Invoke(this, tea);
     }
 }
コード例 #3
0
 /// <summary>
 /// Raise OnDrag event manually.
 /// </summary>
 /// <param name="tea">Tea.</param>
 public void RaiseDragEvent(GuiTouchEventArg tea)
 {
     if (OnDrag != null)
     {
         OnDrag.Invoke(this, tea);
     }
 }