|
Third Person Cover Shooter
1.6
|
Spawns sound instances on various character events. More...
Public Member Functions | |
| void | OnLand () |
| Character lands on the ground. More... | |
| void | OnFootstep (Vector3 position) |
| Character makes a footstep. More... | |
| void | OnDead () |
| Character is dead. More... | |
| void | OnResurrect () |
| Character is no longer dead. More... | |
| void | OnBlock (Hit hit) |
| void | OnJump () |
| Character jumps off the ground. More... | |
| void | OnTakenHit (Hit hit) |
Public Attributes | |
| AudioClip [] | Footstep |
| Possible sounds to play on each footstep. More... | |
| AudioClip [] | Death |
| Possible sounds to play when the character dies. More... | |
| AudioClip [] | Jump |
| Possible sounds to play at the beginning of a jump. More... | |
| AudioClip [] | Land |
| Possible sounds to play when the character lands. More... | |
| AudioClip [] | Block |
| Possible sounds to play when the character blocks a melee attack. More... | |
| AudioClip [] | Hurt |
| Possible sounds to play when the character is hurt. More... | |
| AudioClip [] | Hit |
| Possible sounds to play when the character is hit. More... | |
| AudioClip [] | BigHit |
| Possible sounds to play 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 sound. More... | |
Spawns sound instances on various character events.
Sounds are randomly picked from lists.
| void CoverShooter.CharacterSounds.OnBlock | ( | Hit | hit | ) |
| void CoverShooter.CharacterSounds.OnDead | ( | ) |
Character is dead.
Implements CoverShooter.ICharacterHealthListener.
| void CoverShooter.CharacterSounds.OnFootstep | ( | Vector3 | position | ) |
Character makes a footstep.
Implements CoverShooter.ICharacterPhysicsListener.
| void CoverShooter.CharacterSounds.OnJump | ( | ) |
Character jumps off the ground.
Implements CoverShooter.ICharacterPhysicsListener.
| void CoverShooter.CharacterSounds.OnLand | ( | ) |
Character lands on the ground.
Implements CoverShooter.ICharacterPhysicsListener.
| void CoverShooter.CharacterSounds.OnResurrect | ( | ) |
Character is no longer dead.
Implements CoverShooter.ICharacterHealthListener.
| void CoverShooter.CharacterSounds.OnTakenHit | ( | Hit | hit | ) |
| float CoverShooter.CharacterSounds.BigDamageThreshold = 50 |
Damage that has to be dealt to play big hit sound.
| AudioClip [] CoverShooter.CharacterSounds.BigHit |
Possible sounds to play when the character is dealt a lot of damage by a hit.
| AudioClip [] CoverShooter.CharacterSounds.Block |
Possible sounds to play when the character blocks a melee attack.
| AudioClip [] CoverShooter.CharacterSounds.Death |
Possible sounds to play when the character dies.
| AudioClip [] CoverShooter.CharacterSounds.Footstep |
Possible sounds to play on each footstep.
| AudioClip [] CoverShooter.CharacterSounds.Hit |
Possible sounds to play when the character is hit.
| AudioClip [] CoverShooter.CharacterSounds.Hurt |
Possible sounds to play when the character is hurt.
| AudioClip [] CoverShooter.CharacterSounds.Jump |
Possible sounds to play at the beginning of a jump.
| AudioClip [] CoverShooter.CharacterSounds.Land |
Possible sounds to play when the character lands.