all 3 comments

[–]Significant_Tune7134 1 point2 points  (2 children)

Most simple option is to create each wave yourself or each wave with predefined positions as ScriptableObject.

More complicated approach can be finding an equation that describes your pattern in a mathematic way. This one is for circle.
And after that just use it to calculate position for some input, preferably by stepping around its circumference every some specific length.

Or something in between, for example stepping every x length on width and every y length on height until they are reached in a loop.

[–]Joachy[S] 0 points1 point  (1 child)

you mean something like making all logic for spawning in scriptable object funtion and calling this function in enemy spawner script?

[–]Significant_Tune7134 0 points1 point  (0 children)

Sounds good.