Third Person Cover Shooter  1.6
CoverShooter.TouchAiming Class Reference

Takes directional input from the touch screen and passes it to Mobile Controller as aim direction. More...

Inheritance diagram for CoverShooter.TouchAiming:
CoverShooter.TouchBase

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...
 

Detailed Description

Takes directional input from the touch screen and passes it to Mobile Controller as aim direction.

Member Function Documentation

◆ Update()

override void CoverShooter.TouchAiming.Update ( )
protectedvirtual

Reimplemented from CoverShooter.TouchBase.


The documentation for this class was generated from the following file: