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 |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
Death ( ) : void | ||
DestroySelf ( ) : void | ||
HitFlashMeshes ( Transform root, Material hitFlashMaterials ) : void | ||
OnDestroy ( ) : void | ||
TakeDamage ( int amount ) : void | ||
Update ( ) : void |
Method | Description | |
---|---|---|
HitFlash ( ) : IEnumerator | ||
ReplaceMeshes ( Transform root, int found ) : int |
public HitFlashMeshes ( Transform root, Material hitFlashMaterials ) : void | ||
root | Transform | |
hitFlashMaterials | Material | |
return | void |