IWayPoint

This Interface is used by the AI animal Control logic to find positions and targets to move using a NavMesh AI Agent.

This Interface inherits from IAITarget

Properties

Transform NextTarget()

Returns the Next Target associated to the Current Waypoint

Transform WPTransform { get; }

returns the Transform associated to the WayPoint

float WaitTime { get; }

Wait time needed to go to the Next Waypoint

void TargetArrived(GameObject target)

This method should be called when someone's arrives to the Waypoint.

Last updated