C# Class Gameplay.Unit.BaseEnemy

Inheritance: BaseUnit
Mostra file Open project: badawe/GameStartUP Class Usage Examples

Public Methods

Method Description
ChangeStateTo ( BehaviorState targetState ) : void
Hit ( HitInformation hitInformation ) : void

Protected Methods

Method Description
Awake ( ) : void
Die ( ) : void
OnDestroy ( ) : void
Start ( ) : void

Private Methods

Method Description
DispatchEnemyDie ( ) : void
OnReachDestination ( Vector3 startPosition, Vector3 endPosition ) : void
OnSightTriggerVolumeEnter ( TriggerVolume volume, Collider collider ) : void
OnSightTriggerVolumeExit ( TriggerVolume volume, Collider collider ) : void
PushBackRoutine ( HitInformation hitInformation ) : IEnumerator
SeekNewPosition ( ) : void
Update ( ) : void

Method Details

Awake() protected method

protected Awake ( ) : void
return void

ChangeStateTo() public method

public ChangeStateTo ( BehaviorState targetState ) : void
targetState BehaviorState
return void

Die() protected method

protected Die ( ) : void
return void

Hit() public method

public Hit ( HitInformation hitInformation ) : void
hitInformation Gameplay.Unit.Attack.HitInformation
return void

OnDestroy() protected method

protected OnDestroy ( ) : void
return void

Start() protected method

protected Start ( ) : void
return void