C# Class PlayerControl1, Heracles

Inheritance: MonoBehaviour
Datei anzeigen 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_oe property

public Transform groundCheck
return Transform

groundMask public_oe property

public LayerMask groundMask
return LayerMask

horizAxisName public_oe property

public string horizAxisName
return string

jumpAxisName public_oe property

public string jumpAxisName
return string

jumpPower public_oe property

public float jumpPower
return float

resetPosition public_oe property

public Vector2 resetPosition
return Vector2

runSpeed public_oe property

public float runSpeed
return float

walkSpeed public_oe property

public float walkSpeed
return float