This functionality is only available for certain module packages. Info / Copyright

Structure of a Simple Script

A simple script that you can execute consists of at least one public class with at least one function. This function always has to be marked with the [Start] attribute.

The overall structure of a simple C# script thus looks like this:

public class <ScriptName>
{

     [Start]
     public void <FunctionName>
     {

           //<Enter your code text here>
           return;

     }

}

A script can also contain more than one function and different classes. In any case, exactly one function must be identified by the [Start] attribute.

See also