C# Class ColossusController, WorldsofREM

Inheritance: MonoBehaviour
Afficher le fichier Open project: jmkmoore/WorldsofREM Class Usage Examples

Méthodes publiques

Свойство 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

Méthodes publiques

Méthode 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

Méthode Description
isInRange ( ) : bool

Method Details

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

getCurrentAttackValue() public méthode

public getCurrentAttackValue ( ) : int
Résultat int

onControllerCollider() public méthode

public onControllerCollider ( RaycastHit2D hit ) : void
hit UnityEngine.RaycastHit2D
Résultat void

onTriggerEnterEvent() public méthode

public onTriggerEnterEvent ( Collider2D col ) : void
col UnityEngine.Collider2D
Résultat void

onTriggerExitEvent() public méthode

public onTriggerExitEvent ( Collider2D col ) : void
col UnityEngine.Collider2D
Résultat void

overheadAttack() public méthode

public overheadAttack ( ) : void
Résultat void

pokeAttack() public méthode

public pokeAttack ( ) : void
Résultat void

swingAttack() public méthode

public swingAttack ( ) : void
Résultat void

updateCanAttack() public méthode

public updateCanAttack ( string attackName, bool canUse ) : void
attackName string
canUse bool
Résultat void

Property Details

currentAttack public_oe property

public string currentAttack
Résultat string

currentAttackTimer public_oe property

public float currentAttackTimer
Résultat float

gravity public_oe property

public float gravity
Résultat float

groundDamping public_oe property

public float groundDamping
Résultat float

inAirDamping public_oe property

public float inAirDamping
Résultat float

overhandCooldown public_oe property

public float overhandCooldown
Résultat float

overhandTimer public_oe property

public float overhandTimer
Résultat float

pokeCooldown public_oe property

public float pokeCooldown
Résultat float

pokeTimer public_oe property

public float pokeTimer
Résultat float

runSpeed public_oe property

public float runSpeed
Résultat float

shoulderCooldown public_oe property

public float shoulderCooldown
Résultat float

shoulderTimer public_oe property

public float shoulderTimer
Résultat float

stompCooldown public_oe property

public float stompCooldown
Résultat float

stompTimer public_oe property

public float stompTimer
Résultat float

swingCooldown public_oe property

public float swingCooldown
Résultat float

swingTimer public_oe property

public float swingTimer
Résultat float