C# Class Assets.Core.Scripts.Movement.TouchInput

Inheritance: UnityEngine.MonoBehaviour
Show file Open project: veselin-/DADIU2015Team4MiniGame1

Public Properties

Property Type Description
BoundaryDist float
Elephant GameObject
LeftButton GameObject
LeftLayerMask LayerMask
RightButton GameObject
RightLayerMask LayerMask
RotationPoint Transform
SecToLongPress float
Speed float

Public Methods

Method Description
CooldownAnimation ( Animator cooldownAnim ) : void
Gameover ( ) : void
GetXPos ( ) : float

Private Methods

Method Description
GoLeft ( ) : void
GoRight ( ) : void
PoseInputDown ( ) : void
PoseInputUp ( ) : void
Start ( ) : void
Update ( ) : void

Method Details

CooldownAnimation() public method

public CooldownAnimation ( Animator cooldownAnim ) : void
cooldownAnim Animator
return void

Gameover() public method

public Gameover ( ) : void
return void

GetXPos() public method

public GetXPos ( ) : float
return float

Property Details

BoundaryDist public property

public float BoundaryDist
return float

Elephant public property

public GameObject Elephant
return GameObject

LeftButton public property

public GameObject LeftButton
return GameObject

LeftLayerMask public property

public LayerMask LeftLayerMask
return LayerMask

RightButton public property

public GameObject RightButton
return GameObject

RightLayerMask public property

public LayerMask RightLayerMask
return LayerMask

RotationPoint public property

public Transform RotationPoint
return Transform

SecToLongPress public property

public float SecToLongPress
return float

Speed public static property

public static float Speed
return float