In the program, I used previously you could use the def command and it would “save” a command line and define a command. if you would use that command it would execute that command line. is there something like that in unity?
so a compact like 100 lines in one command line to use multiple times.
OF course… You mean to create your own function? the basis of scripintg…
public void MyFunction()
{
Something
Something
Something
}
Then just need to call the function
Mufunction();
Is this what are you asking for?