Property | Type | Description | |
---|---|---|---|
OnClick | OnGuiTouchEventHandler | ||
OnDrag | OnGuiTouchEventHandler | ||
OnPress | OnGuiTouchEventHandler |
Method | Description | |
---|---|---|
IsPointInside ( float x, float y ) : bool |
Check if 2d point placed inside current touch zone.
|
|
LateUpdate ( ) : void | ||
RaiseClickEvent ( GuiTouchEventArg tea ) : void |
Raise OnClick event manually.
|
|
RaiseDragEvent ( GuiTouchEventArg tea ) : void |
Raise OnDrag event manually.
|
|
RaisePressEvent ( GuiTouchEventArg tea ) : void |
Raise OnPress event manually.
|
|
ResetPanel ( ) : void |
Force reset cached parent panel reference.
|
Method | Description | |
---|---|---|
OnDisable ( ) : void | ||
OnEnable ( ) : void |
public IsPointInside ( float x, float y ) : bool | ||
x | float | X coordinate of point. |
y | float | Y coordinate of point. |
return | bool |
public RaiseClickEvent ( GuiTouchEventArg tea ) : void | ||
tea | GuiTouchEventArg | Tea. |
return | void |
public RaiseDragEvent ( GuiTouchEventArg tea ) : void | ||
tea | GuiTouchEventArg | Tea. |
return | void |
public RaisePressEvent ( GuiTouchEventArg tea ) : void | ||
tea | GuiTouchEventArg | Tea. |
return | void |