Can i create path without scan scene?

i wanna create the path at runtime with all my Vector2 point
so i dont wanna scan the scen…because this need create the collider object…

i know the point , and i wanna create the path data.
so can i make it ?

i don’t found anything of this.


Why do you want to do this? Don’t you want any pathfinding?

Anyway, you can use it simply by:

var path = ABPath.Construct(...);
path.vectorPath = myListOfPoints; // Note: Vector3 points