Shooter Template  1.2.3
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
Invector.vCharacterController.vCharacterStandalone Class Reference
Inheritance diagram for Invector.vCharacterController.vCharacterStandalone:
Invector.vCharacterController.vCharacter Invector.vHealthController Invector.vCharacterController.vICharacter Invector.vMonoBehaviour Invector.vIHealthController Invector.vIHealthController Invector.vIDamageReceiver Invector.vIDamageReceiver

Public Member Functions

override void TakeDamage (vDamage damage)
 TAKE DAMAGE - you can override the take damage method from the vCharacter and add your own calls More...
 
- Public Member Functions inherited from Invector.vCharacterController.vCharacter
virtual void Init ()
 
virtual void ResetRagdoll ()
 
virtual void EnableRagdoll ()
 
- 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

v_SpriteHealth healthSlider
 
- Public Attributes inherited from Invector.vCharacterController.vCharacter
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

override void Start ()
 
- Protected Member Functions inherited from Invector.vCharacterController.vCharacter
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 IEnumerator RecoverHealth ()
 
virtual void HealthRecovery ()
 

Additional Inherited Members

- Public Types inherited from Invector.vCharacterController.vCharacter
enum  DeathBy { DeathBy.Animation, DeathBy.AnimationWithRagdoll, DeathBy.Ragdoll }
 
- Protected Attributes inherited from Invector.vCharacterController.vCharacter
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 inherited from Invector.vCharacterController.vCharacter
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]
 

Member Function Documentation

◆ Start()

override void Invector.vCharacterController.vCharacterStandalone.Start ( )
protectedvirtual

Reimplemented from Invector.vHealthController.

◆ TakeDamage()

override void Invector.vCharacterController.vCharacterStandalone.TakeDamage ( vDamage  damage)
virtual

TAKE DAMAGE - you can override the take damage method from the vCharacter and add your own calls

Parameters
damagedamage to apply

Reimplemented from Invector.vCharacterController.vCharacter.

Member Data Documentation

◆ healthSlider

v_SpriteHealth Invector.vCharacterController.vCharacterStandalone.healthSlider

vCharacter Example - You can assign this script into non-Invector Third Person Characters to still use the AI and apply damage


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