Shooter Template
1.2.3
|
Public Types | |
enum | DeathBy { DeathBy.Animation, DeathBy.AnimationWithRagdoll, DeathBy.Ragdoll } |
Public Member Functions | |
virtual void | Init () |
virtual void | ResetRagdoll () |
virtual void | EnableRagdoll () |
override void | TakeDamage (vDamage damage) |
Apply Damage to Current Health More... | |
Public Member Functions inherited from Invector.vHealthController | |
virtual void | ChangeHealth (int value) |
Change the currentHealth of Character More... | |
virtual void | ChangeMaxHealth (int value) |
Change the MaxHealth of Character More... | |
Public Attributes | |
DeathBy | deathBy = DeathBy.Animation |
bool | removeComponentsAfterDie |
OnActionHandle | onActionEnter = new OnActionHandle() |
OnActionHandle | onActionStay = new OnActionHandle() |
OnActionHandle | onActionExit = new OnActionHandle() |
Public Attributes inherited from Invector.vHealthController | |
int | maxHealth = 100 |
float | healthRecovery = 0f |
float | healthRecoveryDelay = 0f |
float | currentHealthRecoveryDelay |
Protected Member Functions | |
virtual void | OnTriggerEnter (Collider other) |
virtual void | OnTriggerStay (Collider other) |
virtual void | OnTriggerExit (Collider other) |
virtual void | TriggerDamageReaction (vDamage damage) |
Protected Member Functions inherited from Invector.vHealthController | |
virtual void | Start () |
virtual IEnumerator | RecoverHealth () |
virtual void | HealthRecovery () |
Protected Attributes | |
OnActiveRagdoll | _onActiveRagdoll = new OnActiveRagdoll() |
vAnimatorParameter | hitDirectionHash |
vAnimatorParameter | reactionIDHash |
vAnimatorParameter | triggerReactionHash |
vAnimatorParameter | triggerResetStateHash |
vAnimatorParameter | recoilIDHash |
vAnimatorParameter | triggerRecoilHash |
bool | isInit |
Protected Attributes inherited from Invector.vHealthController | |
bool | _isDead |
float | _currentHealth |
OnReceiveDamage | _onReceiveDamage = new OnReceiveDamage() |
OnDead | _onDead = new OnDead() |
Properties | |
Animator | animator [get] |
bool | ragdolled [get, set] |
OnActiveRagdoll | onActiveRagdoll [get, protected set] |
Properties inherited from Invector.vHealthController | |
int | MaxHealth [get, protected set] |
float | currentHealth [get, protected set] |
bool | isDead [get, set] |
OnReceiveDamage | onReceiveDamage [get, protected set] |
OnDead | onDead [get, protected set] |
virtual bool | canRecoverHealth [get] |
Properties inherited from Invector.vIHealthController | |
OnDead | onDead [get] |
float | currentHealth [get] |
int | MaxHealth [get] |
bool | isDead [get, set] |
Properties inherited from Invector.vIDamageReceiver | |
OnReceiveDamage | onReceiveDamage [get] |
Transform | transform [get] |
GameObject | gameObject [get] |
Properties inherited from Invector.vCharacterController.vICharacter | |
OnActiveRagdoll | onActiveRagdoll [get] |
Animator | animator [get] |
bool | ragdolled [get, set] |
|
strong |
|
virtual |
Implements Invector.vCharacterController.vICharacter.
Reimplemented in Invector.vCharacterController.vThirdPersonMotor, and Invector.vCharacterController.AI.v_AIMotor.
|
virtual |
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in Invector.vCharacterController.vThirdPersonController.
|
protectedvirtual |
Reimplemented in Invector.vCharacterController.vThirdPersonController.
|
virtual |
Implements Invector.vCharacterController.vICharacter.
Reimplemented in Invector.vCharacterController.vThirdPersonMotor, and Invector.vCharacterController.AI.v_AIMotor.
|
virtual |
Apply Damage to Current Health
damage | damage |
Reimplemented from Invector.vHealthController.
Reimplemented in Invector.vCharacterController.AI.v_AIMotor, Invector.vCharacterController.vThirdPersonMotor, and Invector.vCharacterController.vCharacterStandalone.
|
protectedvirtual |
Reimplemented in Invector.vCharacterController.AI.v_AIMotor, and Invector.vCharacterController.vThirdPersonMotor.
|
protected |
DeathBy Invector.vCharacterController.vCharacter.deathBy = DeathBy.Animation |
|
protected |
|
protected |
OnActionHandle Invector.vCharacterController.vCharacter.onActionEnter = new OnActionHandle() |
OnActionHandle Invector.vCharacterController.vCharacter.onActionExit = new OnActionHandle() |
OnActionHandle Invector.vCharacterController.vCharacter.onActionStay = new OnActionHandle() |
|
protected |
|
protected |
bool Invector.vCharacterController.vCharacter.removeComponentsAfterDie |
|
protected |
|
protected |
|
protected |
|
get |
|
getprotected set |
|
getset |