C# 클래스 EnemySpawner

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

공개 프로퍼티들

프로퍼티 타입 설명
enemyPrefab GameObject
health int
spawnClip AudioClip
spawnTime float

공개 메소드들

메소드 설명
Spawn ( ) : void

Spawn an instance of the enemy.

TakeDamage ( int damage ) : void

Takes the damage.

메소드 상세

Spawn() 공개 메소드

Spawn an instance of the enemy.
public Spawn ( ) : void
리턴 void

TakeDamage() 공개 메소드

Takes the damage.
public TakeDamage ( int damage ) : void
damage int Damage.
리턴 void

프로퍼티 상세

enemyPrefab 공개적으로 프로퍼티

public GameObject enemyPrefab
리턴 GameObject

health 공개적으로 프로퍼티

public int health
리턴 int

spawnClip 공개적으로 프로퍼티

public AudioClip spawnClip
리턴 AudioClip

spawnTime 공개적으로 프로퍼티

public float spawnTime
리턴 float