C# 클래스 EnemyAIController

상속: MonoBehaviour
파일 보기 프로젝트 열기: mezosaurus/eae-project 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
axemanIntroSounds UnityEngine.AudioClip[]
axemanWrongSounds UnityEngine.AudioClip[]
hitSound1 UnityEngine.AudioClip
hitSound2 UnityEngine.AudioClip
hitSound3 UnityEngine.AudioClip
investigateTime float
sittingTime float
wanderRadius float

보호된 프로퍼티들

프로퍼티 타입 설명
angry bool
calledToPoint bool
checkingPlayer bool
hitCounter int
investigatePath bool
investigating bool
lastPlayer GameObject
leaveTime float
nextInvestigateTime float
panickedNPCPosition Vector3
treeList ArrayList
treePath bool

공개 메소드들

메소드 설명
Start ( ) : void

보호된 메소드들

메소드 설명
NPCHandleSeeingPlayer ( ) : bool
NPCOnDestroy ( ) : void
OnCollisionEnter2D ( Collision2D collision ) : void
alert ( ) : void
animateCharacter ( Vector3 movement, Vector3 moveTo ) : void
chasePlayer ( ) : void
decrementAlertLevel ( ) : void
getAllPlayerTrees ( ) : ArrayList
getWanderPoint ( Vector3 center ) : Vector3
handleSitting ( ) : void
initAxeMan ( ) : void
investigate ( ) : void
panic ( ) : void
updateEnemyNPC ( ) : bool

메소드 상세

NPCHandleSeeingPlayer() 보호된 메소드

protected NPCHandleSeeingPlayer ( ) : bool
리턴 bool

NPCOnDestroy() 보호된 메소드

protected NPCOnDestroy ( ) : void
리턴 void

OnCollisionEnter2D() 보호된 메소드

protected OnCollisionEnter2D ( Collision2D collision ) : void
collision Collision2D
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

alert() 보호된 메소드

protected alert ( ) : void
리턴 void

animateCharacter() 보호된 메소드

protected animateCharacter ( Vector3 movement, Vector3 moveTo ) : void
movement Vector3
moveTo Vector3
리턴 void

chasePlayer() 보호된 메소드

protected chasePlayer ( ) : void
리턴 void

decrementAlertLevel() 보호된 메소드

protected decrementAlertLevel ( ) : void
리턴 void

getAllPlayerTrees() 보호된 메소드

protected getAllPlayerTrees ( ) : ArrayList
리턴 ArrayList

getWanderPoint() 보호된 메소드

protected getWanderPoint ( Vector3 center ) : Vector3
center Vector3
리턴 Vector3

handleSitting() 보호된 메소드

protected handleSitting ( ) : void
리턴 void

initAxeMan() 보호된 메소드

protected initAxeMan ( ) : void
리턴 void

investigate() 보호된 메소드

protected investigate ( ) : void
리턴 void

panic() 보호된 메소드

protected panic ( ) : void
리턴 void

updateEnemyNPC() 보호된 메소드

protected updateEnemyNPC ( ) : bool
리턴 bool

프로퍼티 상세

angry 보호되어 있는 프로퍼티

protected bool angry
리턴 bool

axemanIntroSounds 공개적으로 프로퍼티

public AudioClip[],UnityEngine axemanIntroSounds
리턴 UnityEngine.AudioClip[]

axemanWrongSounds 공개적으로 프로퍼티

public AudioClip[],UnityEngine axemanWrongSounds
리턴 UnityEngine.AudioClip[]

calledToPoint 보호되어 있는 프로퍼티

protected bool calledToPoint
리턴 bool

checkingPlayer 보호되어 있는 프로퍼티

protected bool checkingPlayer
리턴 bool

hitCounter 보호되어 있는 프로퍼티

protected int hitCounter
리턴 int

hitSound1 공개적으로 프로퍼티

public AudioClip,UnityEngine hitSound1
리턴 UnityEngine.AudioClip

hitSound2 공개적으로 프로퍼티

public AudioClip,UnityEngine hitSound2
리턴 UnityEngine.AudioClip

hitSound3 공개적으로 프로퍼티

public AudioClip,UnityEngine hitSound3
리턴 UnityEngine.AudioClip

investigatePath 보호되어 있는 프로퍼티

protected bool investigatePath
리턴 bool

investigateTime 공개적으로 프로퍼티

public float investigateTime
리턴 float

investigating 보호되어 있는 프로퍼티

protected bool investigating
리턴 bool

lastPlayer 보호되어 있는 프로퍼티

protected GameObject lastPlayer
리턴 GameObject

leaveTime 보호되어 있는 프로퍼티

protected float leaveTime
리턴 float

nextInvestigateTime 보호되어 있는 프로퍼티

protected float nextInvestigateTime
리턴 float

panickedNPCPosition 보호되어 있는 프로퍼티

protected Vector3 panickedNPCPosition
리턴 Vector3

sittingTime 공개적으로 프로퍼티

public float sittingTime
리턴 float

treeList 보호되어 있는 프로퍼티

protected ArrayList treeList
리턴 ArrayList

treePath 보호되어 있는 프로퍼티

protected bool treePath
리턴 bool

wanderRadius 공개적으로 프로퍼티

public float wanderRadius
리턴 float