IWayPoint
Last updated
Was this helpful?
Last updated
Was this helpful?
This Interface is used by the logic to find positions and targets to move using a NavMesh AI Agent.
This Interface inherits from
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.