|
Third Person Cover Shooter
1.6
|
Takes directional input from the touch screen and passes it to Mobile Controller as aim direction. More...
Protected Member Functions | |
| override void | Update () |
Additional Inherited Members | |
Public Member Functions inherited from CoverShooter.TouchBase | |
| void | OnPointerDown (PointerEventData eventData) |
Public Attributes inherited from CoverShooter.TouchBase | |
| MobileController | Controller |
| Mobile controller that will be given the input. More... | |
| GameObject | Control |
| Link to the object that is always shown. More... | |
| GameObject | Selection |
| Link to the object that is only shown when pressed. More... | |
| GameObject | Center |
| Link to the object that is only shown when pressed and represents the center. More... | |
| float | ScreenAreaSize = 0.5f |
| Relative size of the screen area at the same side as the touch control. More... | |
| float | CenterDistance = 0.1f |
| Distance from the control to it's center circle. More... | |
| float | CancelDistance = 0.05f |
| Cancel input when the distance from the control to the center is lesser than the value. More... | |
Properties inherited from CoverShooter.TouchBase | |
| Vector2 | Delta [get] |
| Current value of the controls. More... | |
| float | Magnitude [get] |
| Current magnitude of input. More... | |
| bool | IsCancelled [get] |
| Is the current input cancelled. More... | |
Takes directional input from the touch screen and passes it to Mobile Controller as aim direction.
|
protectedvirtual |
Reimplemented from CoverShooter.TouchBase.