C# Class EnemyJoinHealth, SurvivalGame

Inheritance: MonoBehaviour
Mostrar archivo Open project: sea1and/SurvivalGame Class Usage Examples

Public Properties

Property Type Description
Loot GameObject
currentHealth int
deathClip UnityEngine.AudioClip
enemyType int
levelManager LevelManager,
questManager QuestManager,
scoreValue int
sinkSpeed float
startingHealth int

Public Methods

Method Description
Awake ( ) : void
Death ( ) : void
SpawnLoot ( ) : void
StartSinking ( ) : void
TakeDamage ( int amount, Vector3 hitPoint ) : void
Update ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

Death() public method

public Death ( ) : void
return void

SpawnLoot() public method

public SpawnLoot ( ) : void
return void

StartSinking() public method

public StartSinking ( ) : void
return void

TakeDamage() public method

public TakeDamage ( int amount, Vector3 hitPoint ) : void
amount int
hitPoint Vector3
return void

Update() public method

public Update ( ) : void
return void

Property Details

Loot public_oe property

public GameObject Loot
return GameObject

currentHealth public_oe property

public int currentHealth
return int

deathClip public_oe property

public AudioClip,UnityEngine deathClip
return UnityEngine.AudioClip

enemyType public_oe property

public int enemyType
return int

levelManager public_oe property

public LevelManager, levelManager
return LevelManager,

questManager public_oe property

public QuestManager, questManager
return QuestManager,

scoreValue public_oe property

public int scoreValue
return int

sinkSpeed public_oe property

public float sinkSpeed
return float

startingHealth public_oe property

public int startingHealth
return int