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

Inheritance: UnityEngine.MonoBehaviour
显示文件 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_oe property

public float BoundaryDist
return float

Elephant public_oe property

public GameObject Elephant
return GameObject

LeftButton public_oe property

public GameObject LeftButton
return GameObject

LeftLayerMask public_oe property

public LayerMask LeftLayerMask
return LayerMask

RightButton public_oe property

public GameObject RightButton
return GameObject

RightLayerMask public_oe property

public LayerMask RightLayerMask
return LayerMask

RotationPoint public_oe property

public Transform RotationPoint
return Transform

SecToLongPress public_oe property

public float SecToLongPress
return float

Speed public_oe static_oe property

public static float Speed
return float