Just for example I have a simple function like
function doSomething(amt : int) : int
{
//do stuff
return 10;
}
but I would like to make it a function any of my scripts can access.
How would I go about doing that?
I want to create a set of functions that I can access from all my scripts. They would simple be sending variables and returning a number.