Property | Type | Description | |
---|---|---|---|
agent | |||
alienComponent | Alien, | ||
alienMultiplier | float | ||
blockadeToDestroy | GameObject | ||
chaseTimeout | bool | ||
chasingTime | float | ||
closeEnoughToSubobjective | float | ||
controller | AlienController, | ||
currentState | State, | ||
distanceAlarm | float | ||
distanceChaseToAttack | float | ||
distancePatroltoChase | float | ||
distanceToPlayer | float | ||
mainObjectiveDelayed | bool | ||
patrolObjective | PatrolObjective | ||
patrolObjectivePosition | Vector3 | ||
patrolSpeed | float | ||
patrolTaskTime | float | ||
player | GameObject | ||
stopChase | float | ||
subObjective | SubObjective | ||
subobjectivePosition | Vector3 | ||
viewAngle | float | ||
viewRadius | float | ||
wait | bool | ||
waypoints | GameObject[] |
Method | Description | |
---|---|---|
Alarm ( ) : void | ||
Initialize ( ) : void | ||
IsInPlayerFOV ( ) : bool | ||
IsPlayerInMyFOV ( ) : bool | ||
IsPlayerTooClose ( ) : bool | ||
Look ( ) : void | ||
SubObjectiveClear ( ) : void | ||
UpdateAttack ( ) : void | ||
UpdateChase ( ) : void | ||
UpdatePatrol ( ) : void | ||
UpdateSubObjective ( ) : void | ||
moment ( float t ) : IEnumerator |
protected abstract UpdateSubObjective ( ) : void | ||
return | void |
protected NavMeshAgent,UnityEngine agent | ||
return |
protected float closeEnoughToSubobjective | ||
return | float |
protected PatrolObjective patrolObjective | ||
return | PatrolObjective |
protected Vector3 patrolObjectivePosition | ||
return | Vector3 |