polymod
polymod copied to clipboard
Allow scripting on static functions.
trafficstars
By default, scripting is only allowed on non-static functions, and you need to create an instance field to do it. This is because scripts are loaded in the constructor.