C# Class EnemyStats, gmap377_leathGloves_inc

Inheritance: MonoBehaviour
Exibir arquivo Open project: bi3mer/gmap377_leathGloves_inc Class Usage Examples

Public Properties

Property Type Description
Bolt GameObject
BoltDropAmount int
DeathEffect GameObject
DropChance int
Drops GameObject[]
Flashing bool
HitEffect GameObject
HitFlashLength float
HitFlashMaterial Material
Scatter float
ScatterMax int
ScatterMin int
currentHealth int
offset float
scoreValue int
startingHealth int

Public Methods

Method Description
Awake ( ) : void
Death ( ) : void
DestroySelf ( ) : void
HitFlashMeshes ( Transform root, Material hitFlashMaterials ) : void
OnDestroy ( ) : void
TakeDamage ( int amount ) : void
Update ( ) : void

Private Methods

Method Description
HitFlash ( ) : IEnumerator
ReplaceMeshes ( Transform root, int found ) : int

Method Details

Awake() public method

public Awake ( ) : void
return void

Death() public method

public Death ( ) : void
return void

DestroySelf() public method

public DestroySelf ( ) : void
return void

HitFlashMeshes() public method

public HitFlashMeshes ( Transform root, Material hitFlashMaterials ) : void
root Transform
hitFlashMaterials Material
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

TakeDamage() public method

public TakeDamage ( int amount ) : void
amount int
return void

Update() public method

public Update ( ) : void
return void

Property Details

Bolt public_oe property

public GameObject Bolt
return GameObject

BoltDropAmount public_oe property

public int BoltDropAmount
return int

DeathEffect public_oe property

public GameObject DeathEffect
return GameObject

DropChance public_oe property

public int DropChance
return int

Drops public_oe property

public GameObject[] Drops
return GameObject[]

Flashing public_oe property

public bool Flashing
return bool

HitEffect public_oe property

public GameObject HitEffect
return GameObject

HitFlashLength public_oe property

public float HitFlashLength
return float

HitFlashMaterial public_oe property

public Material HitFlashMaterial
return Material

Scatter public_oe property

public float Scatter
return float

ScatterMax public_oe property

public int ScatterMax
return int

ScatterMin public_oe property

public int ScatterMin
return int

currentHealth public_oe property

public int currentHealth
return int

offset public_oe property

public float offset
return float

scoreValue public_oe property

public int scoreValue
return int

startingHealth public_oe property

public int startingHealth
return int