C# 클래스 EnemyAI

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

공개 프로퍼티들

프로퍼티 타입 설명
animationController Animator
damageClip AudioClip
movement_speed float
parentSpawner EnemySpawner
scoreToGive int
startingHP int

공개 메소드들

메소드 설명
Update ( ) : void
damage ( int damage, int playerNum ) : void

비공개 메소드들

메소드 설명
Get_Closest_Player ( Vector3 enemy_location ) : GameObject
Start ( ) : void

메소드 상세

Update() 공개 메소드

public Update ( ) : void
리턴 void

damage() 공개 메소드

public damage ( int damage, int playerNum ) : void
damage int
playerNum int
리턴 void

프로퍼티 상세

animationController 공개적으로 프로퍼티

public Animator animationController
리턴 Animator

damageClip 공개적으로 프로퍼티

public AudioClip damageClip
리턴 AudioClip

movement_speed 공개적으로 프로퍼티

public float movement_speed
리턴 float

parentSpawner 공개적으로 프로퍼티

public EnemySpawner parentSpawner
리턴 EnemySpawner

scoreToGive 공개적으로 프로퍼티

public int scoreToGive
리턴 int

startingHP 공개적으로 프로퍼티

public int startingHP
리턴 int