C# Class ColossusController, WorldsofREM

Inheritance: MonoBehaviour
Show file Open project: jmkmoore/WorldsofREM Class Usage Examples

Public Properties

Property Type Description
currentAttack string
currentAttackTimer float
gravity float
groundDamping float
inAirDamping float
overhandCooldown float
overhandTimer float
pokeCooldown float
pokeTimer float
runSpeed float
shoulderCooldown float
shoulderTimer float
stompCooldown float
stompTimer float
swingCooldown float
swingTimer float

Public Methods

Method Description
Start ( ) : void
Update ( ) : void
getCurrentAttackValue ( ) : int
onControllerCollider ( RaycastHit2D hit ) : void
onTriggerEnterEvent ( Collider2D col ) : void
onTriggerExitEvent ( Collider2D col ) : void
overheadAttack ( ) : void
pokeAttack ( ) : void
swingAttack ( ) : void
updateCanAttack ( string attackName, bool canUse ) : void

Private Methods

Method Description
isInRange ( ) : bool

Method Details

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

getCurrentAttackValue() public method

public getCurrentAttackValue ( ) : int
return int

onControllerCollider() public method

public onControllerCollider ( RaycastHit2D hit ) : void
hit UnityEngine.RaycastHit2D
return void

onTriggerEnterEvent() public method

public onTriggerEnterEvent ( Collider2D col ) : void
col UnityEngine.Collider2D
return void

onTriggerExitEvent() public method

public onTriggerExitEvent ( Collider2D col ) : void
col UnityEngine.Collider2D
return void

overheadAttack() public method

public overheadAttack ( ) : void
return void

pokeAttack() public method

public pokeAttack ( ) : void
return void

swingAttack() public method

public swingAttack ( ) : void
return void

updateCanAttack() public method

public updateCanAttack ( string attackName, bool canUse ) : void
attackName string
canUse bool
return void

Property Details

currentAttack public property

public string currentAttack
return string

currentAttackTimer public property

public float currentAttackTimer
return float

gravity public property

public float gravity
return float

groundDamping public property

public float groundDamping
return float

inAirDamping public property

public float inAirDamping
return float

overhandCooldown public property

public float overhandCooldown
return float

overhandTimer public property

public float overhandTimer
return float

pokeCooldown public property

public float pokeCooldown
return float

pokeTimer public property

public float pokeTimer
return float

runSpeed public property

public float runSpeed
return float

shoulderCooldown public property

public float shoulderCooldown
return float

shoulderTimer public property

public float shoulderTimer
return float

stompCooldown public property

public float stompCooldown
return float

stompTimer public property

public float stompTimer
return float

swingCooldown public property

public float swingCooldown
return float

swingTimer public property

public float swingTimer
return float