C# 클래스 EnemyHostHealth, SurvivalGame

상속: MonoBehaviour
파일 보기 프로젝트 열기: sea1and/SurvivalGame 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Loot GameObject
currentHealth int
deathClip UnityEngine.AudioClip
enemyType int
levelManager LevelManager,
questManager QuestManager,
scoreValue int
sinkSpeed float
startingHealth int

공개 메소드들

메소드 설명
Awake ( ) : void
Death ( ) : void
SpawnLoot ( ) : void
StartSinking ( ) : void
TakeDamage ( int amount, Vector3 hitPoint ) : void
Update ( ) : void

메소드 상세

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

Death() 공개 메소드

public Death ( ) : void
리턴 void

SpawnLoot() 공개 메소드

public SpawnLoot ( ) : void
리턴 void

StartSinking() 공개 메소드

public StartSinking ( ) : void
리턴 void

TakeDamage() 공개 메소드

public TakeDamage ( int amount, Vector3 hitPoint ) : void
amount int
hitPoint Vector3
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

Loot 공개적으로 프로퍼티

public GameObject Loot
리턴 GameObject

currentHealth 공개적으로 프로퍼티

public int currentHealth
리턴 int

deathClip 공개적으로 프로퍼티

public AudioClip,UnityEngine deathClip
리턴 UnityEngine.AudioClip

enemyType 공개적으로 프로퍼티

public int enemyType
리턴 int

levelManager 공개적으로 프로퍼티

public LevelManager, levelManager
리턴 LevelManager,

questManager 공개적으로 프로퍼티

public QuestManager, questManager
리턴 QuestManager,

scoreValue 공개적으로 프로퍼티

public int scoreValue
리턴 int

sinkSpeed 공개적으로 프로퍼티

public float sinkSpeed
리턴 float

startingHealth 공개적으로 프로퍼티

public int startingHealth
리턴 int