Property | Type | Description | |
---|---|---|---|
attackCooldown | float | ||
gravity | float | ||
groundDamping | float | ||
inAirDamping | float | ||
inRange | bool | ||
left | bool | ||
runSpeed | float |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
FixedUpdate ( ) : void | ||
onControllerCollider ( |
||
onTriggerEnterEvent ( |
||
onTriggerExitEvent ( |
||
updateAttack ( bool doAttack ) : void | ||
updateAttackColliders ( bool attacking ) : void | ||
updateDirection ( ) : void |
public onControllerCollider ( |
||
hit | ||
return | void |
public onTriggerEnterEvent ( |
||
col | ||
return | void |
public onTriggerExitEvent ( |
||
col | ||
return | void |
public updateAttackColliders ( bool attacking ) : void | ||
attacking | bool | |
return | void |