C# Class ColossusController, WorldsofREM

Inheritance: MonoBehaviour
Mostrar archivo 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_oe property

public string currentAttack
return string

currentAttackTimer public_oe property

public float currentAttackTimer
return float

gravity public_oe property

public float gravity
return float

groundDamping public_oe property

public float groundDamping
return float

inAirDamping public_oe property

public float inAirDamping
return float

overhandCooldown public_oe property

public float overhandCooldown
return float

overhandTimer public_oe property

public float overhandTimer
return float

pokeCooldown public_oe property

public float pokeCooldown
return float

pokeTimer public_oe property

public float pokeTimer
return float

runSpeed public_oe property

public float runSpeed
return float

shoulderCooldown public_oe property

public float shoulderCooldown
return float

shoulderTimer public_oe property

public float shoulderTimer
return float

stompCooldown public_oe property

public float stompCooldown
return float

stompTimer public_oe property

public float stompTimer
return float

swingCooldown public_oe property

public float swingCooldown
return float

swingTimer public_oe property

public float swingTimer
return float