C# Class HindEvasion, Heracles

Inheritance: MonoBehaviour
Mostrar archivo Open project: TrinityUniversityGameDesign/Heracles

Public Properties

Property Type Description
anim Animator
facingRight bool
jumpTime float
platforms GameObject[]
startPlatform GameObject

Public Methods

Method Description
ChangePosition ( ) : void
CheckDistance ( GameObject triggerPlatform ) : void
FixedUpdate ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
GetAcceleration ( Vector2 targetPosition ) : Vector2
flip ( ) : void

Method Details

ChangePosition() public method

public ChangePosition ( ) : void
return void

CheckDistance() public method

public CheckDistance ( GameObject triggerPlatform ) : void
triggerPlatform GameObject
return void

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

anim public_oe property

public Animator anim
return Animator

facingRight public_oe property

public bool facingRight
return bool

jumpTime public_oe property

public float jumpTime
return float

platforms public_oe property

public GameObject[] platforms
return GameObject[]

startPlatform public_oe property

public GameObject startPlatform
return GameObject