Свойство | Type | Description | |
---|---|---|---|
allowedToPatrol | bool | ||
allowedToWander | bool | ||
damageThreshold | float | ||
distanceThreshold | float | ||
findTargetAutomatically | bool | ||
initialPatrolPoint | Waypoint, | ||
lowerboundWait | float | ||
maxVelocity | float | ||
playerDamageHandler | DamageHandler, | ||
rotateSpeed | float | ||
showDebugMessages | bool | ||
upperboundWait | float | ||
wanderpoints | Transform[] | ||
waypointRadius | float |
Méthode | Description | |
---|---|---|
Awake ( ) : void | ||
CheckForRequirements ( ) : void | ||
CheckWherePlayerIs ( ) : void | ||
DealDamage ( ) : void | ||
FixedUpdate ( ) : void | ||
GoToPlayer ( ) : void | ||
GoToWaypoint ( ) : void | ||
GotRespawned ( ) : void | ||
LookAtTarget ( Vector3 target ) : void | ||
MakeMeChase ( ) : void | ||
Movement ( ) : void | ||
OnDrawGizmos ( ) : void | ||
OnPathFound ( Vector3 newPath, bool pathSuccess ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
Méthode | Description | |
---|---|---|
CalculateMovement ( Vector3 t ) : Vector3 | ||
FollowPath ( ) : IEnumerator | ||
LookForTarget ( ) : IEnumerator |
public LookAtTarget ( Vector3 target ) : void | ||
target | Vector3 | |
Résultat | void |
public OnPathFound ( Vector3 newPath, bool pathSuccess ) : void | ||
newPath | Vector3 | |
pathSuccess | bool | |
Résultat | void |
public DamageHandler, playerDamageHandler | ||
Résultat | DamageHandler, |