C# Class EnemyHostHealth, SurvivalGame

Inheritance: MonoBehaviour
Afficher le fichier Open project: sea1and/SurvivalGame Class Usage Examples

Méthodes publiques

Свойство Type Description
Loot GameObject
currentHealth int
deathClip UnityEngine.AudioClip
enemyType int
levelManager LevelManager,
questManager QuestManager,
scoreValue int
sinkSpeed float
startingHealth int

Méthodes publiques

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

Method Details

Awake() public méthode

public Awake ( ) : void
Résultat void

Death() public méthode

public Death ( ) : void
Résultat void

SpawnLoot() public méthode

public SpawnLoot ( ) : void
Résultat void

StartSinking() public méthode

public StartSinking ( ) : void
Résultat void

TakeDamage() public méthode

public TakeDamage ( int amount, Vector3 hitPoint ) : void
amount int
hitPoint Vector3
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

Loot public_oe property

public GameObject Loot
Résultat GameObject

currentHealth public_oe property

public int currentHealth
Résultat int

deathClip public_oe property

public AudioClip,UnityEngine deathClip
Résultat UnityEngine.AudioClip

enemyType public_oe property

public int enemyType
Résultat int

levelManager public_oe property

public LevelManager, levelManager
Résultat LevelManager,

questManager public_oe property

public QuestManager, questManager
Résultat QuestManager,

scoreValue public_oe property

public int scoreValue
Résultat int

sinkSpeed public_oe property

public float sinkSpeed
Résultat float

startingHealth public_oe property

public int startingHealth
Résultat int