|
Third Person Cover Shooter
1.6
|
Reacts to character events and modifies blend shapes in a mesh. More...
Public Member Functions | |
| void | OnStartGunFire () |
| Character starts firing. More... | |
| void | OnStopGunFire () |
| Character stops firing. More... | |
| void | OnZoom () |
| Character is zooming in. More... | |
| void | OnUnzoom () |
| Character is no longer zooming in. More... | |
| void | OnScope () |
| Character starts using scope. More... | |
| void | OnUnscope () |
| Character is no longer using scope. More... | |
| void | OnDead () |
| Character is dead. More... | |
| void | OnResurrect () |
| Character is no longer dead. More... | |
Public Attributes | |
| GameObject | Mesh |
| Link to an object with a SkinnedMeshRenderer to apply faces to. More... | |
| FaceSettings | Default |
| Default character face. More... | |
| FaceSettings | Zoom |
| Face settings when the character is zooming but not firing. More... | |
| FaceSettings | Fire |
| Face settings when a gun trigger is pressed. More... | |
| FaceSettings | Dead |
| Face settings when the character is dead. More... | |
Reacts to character events and modifies blend shapes in a mesh.
The set of faces can be expanded by modifying the script or making a new version of it.
| void CoverShooter.CharacterFace.OnDead | ( | ) |
Character is dead.
Implements CoverShooter.ICharacterHealthListener.
| void CoverShooter.CharacterFace.OnResurrect | ( | ) |
Character is no longer dead.
Implements CoverShooter.ICharacterHealthListener.
| void CoverShooter.CharacterFace.OnScope | ( | ) |
Character starts using scope.
Implements CoverShooter.ICharacterZoomListener.
| void CoverShooter.CharacterFace.OnStartGunFire | ( | ) |
Character starts firing.
Implements CoverShooter.ICharacterGunListener.
| void CoverShooter.CharacterFace.OnStopGunFire | ( | ) |
Character stops firing.
Implements CoverShooter.ICharacterGunListener.
| void CoverShooter.CharacterFace.OnUnscope | ( | ) |
Character is no longer using scope.
Implements CoverShooter.ICharacterZoomListener.
| void CoverShooter.CharacterFace.OnUnzoom | ( | ) |
Character is no longer zooming in.
Implements CoverShooter.ICharacterZoomListener.
| void CoverShooter.CharacterFace.OnZoom | ( | ) |
Character is zooming in.
Implements CoverShooter.ICharacterZoomListener.
| FaceSettings CoverShooter.CharacterFace.Dead |
Face settings when the character is dead.
| FaceSettings CoverShooter.CharacterFace.Default |
Default character face.
| FaceSettings CoverShooter.CharacterFace.Fire |
Face settings when a gun trigger is pressed.
| GameObject CoverShooter.CharacterFace.Mesh |
Link to an object with a SkinnedMeshRenderer to apply faces to.
| FaceSettings CoverShooter.CharacterFace.Zoom |
Face settings when the character is zooming but not firing.