Property | Type | Description | |
---|---|---|---|
axemanIntroSounds | UnityEngine.AudioClip[] | ||
axemanWrongSounds | UnityEngine.AudioClip[] | ||
hitSound1 | |||
hitSound2 | |||
hitSound3 | |||
investigateTime | float | ||
sittingTime | float | ||
wanderRadius | float |
Property | Type | Description | |
---|---|---|---|
angry | bool | ||
calledToPoint | bool | ||
checkingPlayer | bool | ||
hitCounter | int | ||
investigatePath | bool | ||
investigating | bool | ||
lastPlayer | GameObject | ||
leaveTime | float | ||
nextInvestigateTime | float | ||
panickedNPCPosition | Vector3 | ||
treeList | ArrayList | ||
treePath | bool |
Method | Description | |
---|---|---|
Start ( ) : void |
Method | Description | |
---|---|---|
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 |
protected OnCollisionEnter2D ( Collision2D collision ) : void | ||
collision | Collision2D | |
return | void |
protected animateCharacter ( Vector3 movement, Vector3 moveTo ) : void | ||
movement | Vector3 | |
moveTo | Vector3 | |
return | void |
protected getWanderPoint ( Vector3 center ) : Vector3 | ||
center | Vector3 | |
return | Vector3 |
public AudioClip[],UnityEngine axemanIntroSounds | ||
return | UnityEngine.AudioClip[] |
public AudioClip[],UnityEngine axemanWrongSounds | ||
return | UnityEngine.AudioClip[] |