Third Person Cover Shooter
1.6
|
Spawns prefab instances on various character events. More...
Public Member Functions | |
void | OnLand () |
Instantiates the landing effect when the character lands. More... | |
void | OnTakenHit (Hit hit) |
Instantiates the hit effect when the character is hit. More... | |
void | OnFootstep (Vector3 position) |
Instantiates the step effect. More... | |
void | OnDead () |
Instantiates the death effect. More... | |
void | OnResurrect () |
Instantiates the resurrection event. More... | |
void | OnBlock (Hit hit) |
Instantiates the block event. More... | |
void | OnJump () |
Instantiates the jump effect. More... | |
Public Attributes | |
GameObject | Step |
Effect prefab to instantiate on each character step. More... | |
GameObject | Land |
Effect prefab to instantiate when the character lands on ground. More... | |
GameObject | Death |
Effect prefab to instantiate when the character dies. More... | |
GameObject | Resurrection |
Effect prefab to instantiate when the character resurrects. More... | |
GameObject | Jump |
Effect prefab to instantiate at the beginning of a jump. More... | |
GameObject | Hurt |
Effect prefab to instantiate when the character is hurt. More... | |
GameObject | Block |
Effect prefab to instantiate when the character blocks a melee attack. More... | |
GameObject | Hit |
Effect prefab to instantiate when the character is hit. More... | |
GameObject | BigHit |
Effect prefab to instantiate when the character is dealt a lot of damage by a hit. More... | |
float | BigDamageThreshold = 50 |
Damage that has to be dealt to play big hit effect. More... | |
Spawns prefab instances on various character events.
void CoverShooter.CharacterEffects.OnBlock | ( | Hit | hit | ) |
Instantiates the block event.
void CoverShooter.CharacterEffects.OnDead | ( | ) |
Instantiates the death effect.
Implements CoverShooter.ICharacterHealthListener.
void CoverShooter.CharacterEffects.OnFootstep | ( | Vector3 | position | ) |
Instantiates the step effect.
Implements CoverShooter.ICharacterPhysicsListener.
void CoverShooter.CharacterEffects.OnJump | ( | ) |
Instantiates the jump effect.
Implements CoverShooter.ICharacterPhysicsListener.
void CoverShooter.CharacterEffects.OnLand | ( | ) |
Instantiates the landing effect when the character lands.
Implements CoverShooter.ICharacterPhysicsListener.
void CoverShooter.CharacterEffects.OnResurrect | ( | ) |
Instantiates the resurrection event.
Implements CoverShooter.ICharacterHealthListener.
void CoverShooter.CharacterEffects.OnTakenHit | ( | Hit | hit | ) |
Instantiates the hit effect when the character is hit.
float CoverShooter.CharacterEffects.BigDamageThreshold = 50 |
Damage that has to be dealt to play big hit effect.
GameObject CoverShooter.CharacterEffects.BigHit |
Effect prefab to instantiate when the character is dealt a lot of damage by a hit.
GameObject CoverShooter.CharacterEffects.Block |
Effect prefab to instantiate when the character blocks a melee attack.
GameObject CoverShooter.CharacterEffects.Death |
Effect prefab to instantiate when the character dies.
GameObject CoverShooter.CharacterEffects.Hit |
Effect prefab to instantiate when the character is hit.
GameObject CoverShooter.CharacterEffects.Hurt |
Effect prefab to instantiate when the character is hurt.
GameObject CoverShooter.CharacterEffects.Jump |
Effect prefab to instantiate at the beginning of a jump.
GameObject CoverShooter.CharacterEffects.Land |
Effect prefab to instantiate when the character lands on ground.
GameObject CoverShooter.CharacterEffects.Resurrection |
Effect prefab to instantiate when the character resurrects.
GameObject CoverShooter.CharacterEffects.Step |
Effect prefab to instantiate on each character step.