C# Class PlayerControl1, Heracles

Inheritance: MonoBehaviour
Show file Open project: TrinityUniversityGameDesign/Heracles Class Usage Examples

Public Properties

Property Type Description
groundCheck Transform
groundMask LayerMask
horizAxisName string
jumpAxisName string
jumpPower float
resetPosition Vector2
runSpeed float
walkSpeed float

Public Methods

Method Description
Awake ( ) : void
FixedUpdate ( ) : void
OnTriggerEnter2D ( Collider2D other ) : void
Reset ( ) : void
Update ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

OnTriggerEnter2D() public method

public OnTriggerEnter2D ( Collider2D other ) : void
other UnityEngine.Collider2D
return void

Reset() public method

public Reset ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

groundCheck public property

public Transform groundCheck
return Transform

groundMask public property

public LayerMask groundMask
return LayerMask

horizAxisName public property

public string horizAxisName
return string

jumpAxisName public property

public string jumpAxisName
return string

jumpPower public property

public float jumpPower
return float

resetPosition public property

public Vector2 resetPosition
return Vector2

runSpeed public property

public float runSpeed
return float

walkSpeed public property

public float walkSpeed
return float