C# Class AI_ZombieNormal, urban-survivors

Inheritance: AI_ZombieBase
Mostra file Open project: exdev/urban-survivors Class Usage Examples

Public Properties

Property Type Description
atkShape GameObject
attackDistance float
snd_onattack UnityEngine.AudioClip
snd_ondeath UnityEngine.AudioClip
snd_onmeleehit UnityEngine.AudioClip
snd_onspawn UnityEngine.AudioClip
snd_onstun UnityEngine.AudioClip

Public Methods

Method Description
ActOnStun ( ) : void
Act_Movement ( ) : void
Act_OnIdle ( ) : void
OnDead ( ) : void
PlaySpawnSound ( ) : void
arriveDestination ( ) : bool
isGetStun ( ) : bool

Protected Methods

Method Description
InitAnim ( ) : void
ShowDebugInfo ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
AttackOff ( ) : void
AttackOn ( ) : void
InitFSM ( ) : void
OnTriggerEnter ( Collider _other ) : void
ProcessMovement ( ) : void

Method Details

ActOnStun() public method

public ActOnStun ( ) : void
return void

Act_Movement() public method

public Act_Movement ( ) : void
return void

Act_OnIdle() public method

public Act_OnIdle ( ) : void
return void

InitAnim() protected method

protected InitAnim ( ) : void
return void

OnDead() public method

public OnDead ( ) : void
return void

PlaySpawnSound() public method

public PlaySpawnSound ( ) : void
return void

ShowDebugInfo() protected method

protected ShowDebugInfo ( ) : void
return void

Start() protected method

protected Start ( ) : void
return void

Update() protected method

protected Update ( ) : void
return void

arriveDestination() public method

public arriveDestination ( ) : bool
return bool

isGetStun() public method

public isGetStun ( ) : bool
return bool

Property Details

atkShape public_oe property

public GameObject atkShape
return GameObject

attackDistance public_oe property

public float attackDistance
return float

snd_onattack public_oe property

public AudioClip,UnityEngine snd_onattack
return UnityEngine.AudioClip

snd_ondeath public_oe property

public AudioClip,UnityEngine snd_ondeath
return UnityEngine.AudioClip

snd_onmeleehit public_oe property

public AudioClip,UnityEngine snd_onmeleehit
return UnityEngine.AudioClip

snd_onspawn public_oe property

public AudioClip,UnityEngine snd_onspawn
return UnityEngine.AudioClip

snd_onstun public_oe property

public AudioClip,UnityEngine snd_onstun
return UnityEngine.AudioClip