Infinite Runner Engine v1.9
|
Protected Member Functions | |
override void | Swipe () |
override void | Press () |
Protected Member Functions inherited from MoreMountains.Tools.MMSwipeZone | |
virtual MMPossibleSwipeDirections | AngleToSwipeDirection (float angle) |
Determines a MMPossibleSwipeDirection out of an angle in degrees. More... | |
Additional Inherited Members | |
Public Member Functions inherited from MoreMountains.Tools.MMSwipeZone | |
virtual void | OnPointerDown (PointerEventData data) |
Triggers the bound pointer down action More... | |
virtual void | OnPointerUp (PointerEventData data) |
Triggers the bound pointer up action More... | |
virtual void | OnPointerEnter (PointerEventData data) |
Triggers the bound pointer enter action when touch enters zone More... | |
virtual void | OnPointerExit (PointerEventData data) |
Triggers the bound pointer exit action when touch is out of zone More... | |
Public Attributes inherited from MoreMountains.Tools.MMSwipeZone | |
float | MinimalSwipeLength = 50f |
the minimal length of a swipe More... | |
float | MaximumPressLength = 10f |
the maximum press length of a swipe More... | |
SwipeEvent | ZoneSwiped |
The method(s) to call when the zone is swiped. More... | |
UnityEvent | ZonePressed |
The method(s) to call while the zone is being pressed. More... | |
bool | MouseMode = false |
If you set this to true, you'll need to actually press the button for it to be triggered, otherwise a simple hover will trigger it (better for touch input). More... | |
Protected Attributes inherited from MoreMountains.Tools.MMSwipeZone | |
Vector2 | _firstTouchPosition |
float | _angle |
float | _length |
Vector2 | _destination |
Vector2 | _deltaSwipe |
MMPossibleSwipeDirections | _swipeDirection |
float | _lastPointerUpAt = 0f |
float | _swipeStartedAt = 0f |
float | _swipeEndedAt = 0f |
|
protectedvirtual |
Reimplemented from MoreMountains.Tools.MMSwipeZone.
|
protectedvirtual |
Reimplemented from MoreMountains.Tools.MMSwipeZone.