C# Class BT_HindScript, Heracles

Inheritance: MonoBehaviour
Mostrar archivo Open project: TrinityUniversityGameDesign/Heracles

Public Properties

Property Type Description
anim Animator
direction string
groundCheck Transform
groundMask LayerMask
groundRadius float
jumpForce float
speed float

Public Methods

Method Description
Awake ( ) : void
DoJump ( ) : void
FixedUpdate ( ) : void
OnTriggerEnter2D ( Collider2D other ) : void
SetDirection ( string newDirection ) : void
SetIdle ( bool value ) : void
SetJumpForce ( float newForce ) : void
SetSpeed ( float newSpeed ) : void
SlowToStop ( ) : void
StopHind ( ) : void
Update ( ) : void
flipDirection ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

DoJump() public method

public DoJump ( ) : void
return void

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

OnTriggerEnter2D() public method

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

SetDirection() public method

public SetDirection ( string newDirection ) : void
newDirection string
return void

SetIdle() public method

public SetIdle ( bool value ) : void
value bool
return void

SetJumpForce() public method

public SetJumpForce ( float newForce ) : void
newForce float
return void

SetSpeed() public method

public SetSpeed ( float newSpeed ) : void
newSpeed float
return void

SlowToStop() public method

public SlowToStop ( ) : void
return void

StopHind() public method

public StopHind ( ) : void
return void

Update() public method

public Update ( ) : void
return void

flipDirection() public method

public flipDirection ( ) : void
return void

Property Details

anim public_oe property

public Animator anim
return Animator

direction public_oe property

public string direction
return string

groundCheck public_oe property

public Transform groundCheck
return Transform

groundMask public_oe property

public LayerMask groundMask
return LayerMask

groundRadius public_oe property

public float groundRadius
return float

jumpForce public_oe property

public float jumpForce
return float

speed public_oe property

public float speed
return float