C# Class Assets.Scripts.Enemy.EnemyMovement

Inheritance: UnityEngine.MonoBehaviour
Datei anzeigen Open project: EricFreeman/DungeonGame

Public Properties

Property Type Description
FieldOfView float
MinDistance float
MoveSpeed float
State EnemyState
TurnSpeed float
ViewDistance float

Public Methods

Method Description
FixedUpdate ( ) : void
OnTriggerEnter ( Collider col ) : void
Start ( ) : void

Private Methods

Method Description
AlertState ( ) : void
CanSeePlayer ( ) : bool
SearchState ( ) : void

Method Details

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

OnTriggerEnter() public method

public OnTriggerEnter ( Collider col ) : void
col UnityEngine.Collider
return void

Start() public method

public Start ( ) : void
return void

Property Details

FieldOfView public_oe property

public float FieldOfView
return float

MinDistance public_oe property

public float MinDistance
return float

MoveSpeed public_oe property

public float MoveSpeed
return float

State public_oe property

public EnemyState State
return EnemyState

TurnSpeed public_oe property

public float TurnSpeed
return float

ViewDistance public_oe property

public float ViewDistance
return float