I have registered a method for my lua script that requires an enum as the argument. I'm getting an error when I load the script. Do I need to import the namespace of the enum inside lua for it to run, or do I need to do something else?
EDIT: I know you can do:
require 'CLRPackage'
import _namespace_name
However, that seems a bit annoying because most of my lua scripts use enums. Is there a better way?