Third Person Cover Shooter  1.6
CoverShooter.CharacterFace Class Reference

Reacts to character events and modifies blend shapes in a mesh. More...

Inheritance diagram for CoverShooter.CharacterFace:
CoverShooter.ICharacterGunListener CoverShooter.ICharacterZoomListener CoverShooter.ICharacterHealthListener

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...
 

Detailed Description

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.

Member Function Documentation

◆ OnDead()

void CoverShooter.CharacterFace.OnDead ( )

◆ OnResurrect()

void CoverShooter.CharacterFace.OnResurrect ( )

Character is no longer dead.

Implements CoverShooter.ICharacterHealthListener.

◆ OnScope()

void CoverShooter.CharacterFace.OnScope ( )

Character starts using scope.

Implements CoverShooter.ICharacterZoomListener.

◆ OnStartGunFire()

void CoverShooter.CharacterFace.OnStartGunFire ( )

Character starts firing.

Implements CoverShooter.ICharacterGunListener.

◆ OnStopGunFire()

void CoverShooter.CharacterFace.OnStopGunFire ( )

Character stops firing.

Implements CoverShooter.ICharacterGunListener.

◆ OnUnscope()

void CoverShooter.CharacterFace.OnUnscope ( )

Character is no longer using scope.

Implements CoverShooter.ICharacterZoomListener.

◆ OnUnzoom()

void CoverShooter.CharacterFace.OnUnzoom ( )

Character is no longer zooming in.

Implements CoverShooter.ICharacterZoomListener.

◆ OnZoom()

void CoverShooter.CharacterFace.OnZoom ( )

Character is zooming in.

Implements CoverShooter.ICharacterZoomListener.

Member Data Documentation

◆ Dead

FaceSettings CoverShooter.CharacterFace.Dead

Face settings when the character is dead.

◆ Default

FaceSettings CoverShooter.CharacterFace.Default

Default character face.

◆ Fire

FaceSettings CoverShooter.CharacterFace.Fire

Face settings when a gun trigger is pressed.

◆ Mesh

GameObject CoverShooter.CharacterFace.Mesh

Link to an object with a SkinnedMeshRenderer to apply faces to.

◆ Zoom

FaceSettings CoverShooter.CharacterFace.Zoom

Face settings when the character is zooming but not firing.


The documentation for this class was generated from the following file: