wHiteRabbiT-sTudio Framework
wHiteRabbiT.Unity.Character.StateManager Class Reference
Inheritance diagram for wHiteRabbiT.Unity.Character.StateManager:

Classes

class  LootRate
 

Public Member Functions

void InitLife ()
 
void LifeGUI (Vector3 position)
 
void Start ()
 
void Update ()
 
void OnGUI ()
 
void OnTriggerEnter (Collider collider)
 

Public Attributes

float LifeMaximum = 100
 
Vector3 DecalLife
 
float ShowLifeDuration = 3.5f
 
float ShowLifeFadeDuration = 0.15f
 
Vector2 ShowSize = new Vector2(0.6f, 10)
 
Color color = new Color(164.0f/255.0f, 0, 0, 202.0f)
 
Color colorHeal = new Color(0, 164.0f/255.0f, 0, 202.0f)
 
float LerpSpeed = 2.5f
 
bool ForceShow
 
float VibrForce = 0.2f
 
List< Renderer > Renderers
 
Shader VanishShader
 
Texture NoiseTex
 
Texture RampTex
 
int NbLoots = 1
 
List< LootRateLootRates
 

Protected Member Functions

void AnimDeath ()
 

Protected Attributes

BaseCharacter _character
 
float vanishDuration = 1.5f
 
float KilledTime
 
float life
 
float DeltaLife
 
bool ShowVanishMsg
 
float ShowLifeDate = float.MinValue
 
float ShownLife
 
Vector3 vibr3
 

Properties

BaseCharacter character [get]
 
float VanishDuration [get]
 
float Life [get, set]
 

Member Function Documentation

void wHiteRabbiT.Unity.Character.StateManager.AnimDeath ( )
protected
void wHiteRabbiT.Unity.Character.StateManager.InitLife ( )
void wHiteRabbiT.Unity.Character.StateManager.LifeGUI ( Vector3  position)
void wHiteRabbiT.Unity.Character.StateManager.OnGUI ( )
void wHiteRabbiT.Unity.Character.StateManager.OnTriggerEnter ( Collider  collider)
void wHiteRabbiT.Unity.Character.StateManager.Start ( )
void wHiteRabbiT.Unity.Character.StateManager.Update ( )

Member Data Documentation

BaseCharacter wHiteRabbiT.Unity.Character.StateManager._character
protected
Color wHiteRabbiT.Unity.Character.StateManager.color = new Color(164.0f/255.0f, 0, 0, 202.0f)
Color wHiteRabbiT.Unity.Character.StateManager.colorHeal = new Color(0, 164.0f/255.0f, 0, 202.0f)
Vector3 wHiteRabbiT.Unity.Character.StateManager.DecalLife
float wHiteRabbiT.Unity.Character.StateManager.DeltaLife
protected
bool wHiteRabbiT.Unity.Character.StateManager.ForceShow
float wHiteRabbiT.Unity.Character.StateManager.KilledTime
protected
float wHiteRabbiT.Unity.Character.StateManager.LerpSpeed = 2.5f
float wHiteRabbiT.Unity.Character.StateManager.life
protected
float wHiteRabbiT.Unity.Character.StateManager.LifeMaximum = 100
List<LootRate> wHiteRabbiT.Unity.Character.StateManager.LootRates
Initial value:
= new List<LootRate>() {
new LootRate {
Name = "Scrap",
Rate100 = 100,
QuantityRange = new Vector2(1, 3)
}
}
int wHiteRabbiT.Unity.Character.StateManager.NbLoots = 1
Texture wHiteRabbiT.Unity.Character.StateManager.NoiseTex
Texture wHiteRabbiT.Unity.Character.StateManager.RampTex
List<Renderer> wHiteRabbiT.Unity.Character.StateManager.Renderers
float wHiteRabbiT.Unity.Character.StateManager.ShowLifeDate = float.MinValue
protected
float wHiteRabbiT.Unity.Character.StateManager.ShowLifeDuration = 3.5f
float wHiteRabbiT.Unity.Character.StateManager.ShowLifeFadeDuration = 0.15f
float wHiteRabbiT.Unity.Character.StateManager.ShownLife
protected
Vector2 wHiteRabbiT.Unity.Character.StateManager.ShowSize = new Vector2(0.6f, 10)
bool wHiteRabbiT.Unity.Character.StateManager.ShowVanishMsg
protected
float wHiteRabbiT.Unity.Character.StateManager.vanishDuration = 1.5f
protected
Shader wHiteRabbiT.Unity.Character.StateManager.VanishShader
Vector3 wHiteRabbiT.Unity.Character.StateManager.vibr3
protected
float wHiteRabbiT.Unity.Character.StateManager.VibrForce = 0.2f

Property Documentation

BaseCharacter wHiteRabbiT.Unity.Character.StateManager.character
get
float wHiteRabbiT.Unity.Character.StateManager.Life
getset
float wHiteRabbiT.Unity.Character.StateManager.VanishDuration
get

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