Property | Type | Description | |
---|---|---|---|
Loot | GameObject | ||
currentHealth | int | ||
deathClip | |||
enemyType | int | ||
levelManager | LevelManager, | ||
questManager | QuestManager, | ||
scoreValue | int | ||
sinkSpeed | float | ||
startingHealth | int |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
Death ( ) : void | ||
SpawnLoot ( ) : void | ||
StartSinking ( ) : void | ||
TakeDamage ( int amount, Vector3 hitPoint ) : void | ||
Update ( ) : void |
public TakeDamage ( int amount, Vector3 hitPoint ) : void | ||
amount | int | |
hitPoint | Vector3 | |
return | void |