Help - how do i get C# Script have another page without going onto another script

I know it may seem a dumb question but I’m new to scripting, I am trying to put a AI Waypoint network together but iv got it in to separate scripts I what to have 1 script but have one set of coding and then start again on -1 on the left side to start my second.
I have done it before but total forgot how I completed it

Without more information, there isn’t much we can suggest. You could use a List of classes.

Are you asking about… Partial Classes maybe?