C# 클래스 boss, 1gam-dungeon

상속: MonoBehaviour
파일 보기 프로젝트 열기: OneGameAMonth/1gam-dungeon 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
attack_explosion GameObject
damage int
fireball_left_spawnpoint GameObject
fireball_prefab GameObject
fireball_right_spawnpoint GameObject
head_bone Transform
hitpoints int
mage_prefab GameObject
mage_spawn_pos GameObject
player_prefab GameObject

공개 메소드들

메소드 설명
OnTriggerEnter ( Collider other ) : void
Start ( ) : void
Update ( ) : void
receive_damage ( int amount ) : void

비공개 메소드들

메소드 설명
attack ( ) : IEnumerator
death ( ) : IEnumerator
wait_for_player ( ) : IEnumerator

메소드 상세

OnTriggerEnter() 공개 메소드

public OnTriggerEnter ( Collider other ) : void
other Collider
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

receive_damage() 공개 메소드

public receive_damage ( int amount ) : void
amount int
리턴 void

프로퍼티 상세

attack_explosion 공개적으로 프로퍼티

public GameObject attack_explosion
리턴 GameObject

damage 공개적으로 프로퍼티

public int damage
리턴 int

fireball_left_spawnpoint 공개적으로 프로퍼티

public GameObject fireball_left_spawnpoint
리턴 GameObject

fireball_prefab 공개적으로 프로퍼티

public GameObject fireball_prefab
리턴 GameObject

fireball_right_spawnpoint 공개적으로 프로퍼티

public GameObject fireball_right_spawnpoint
리턴 GameObject

head_bone 공개적으로 프로퍼티

public Transform head_bone
리턴 Transform

hitpoints 공개적으로 프로퍼티

public int hitpoints
리턴 int

mage_prefab 공개적으로 프로퍼티

public GameObject mage_prefab
리턴 GameObject

mage_spawn_pos 공개적으로 프로퍼티

public GameObject mage_spawn_pos
리턴 GameObject

player_prefab 공개적으로 프로퍼티

public GameObject player_prefab
리턴 GameObject