/// <summary> /// Sets a randomized path /// </summary> /// <param name="agent"></param> /// <param name="center"></param> /// <param name="range"></param> public static void PathRandom(this NavMeshAgent agent, Vector3 center, float range) { agent.Path(NavMeshController.RandomPoint(center, range)); }