Is there any way for a dialogue text (maybe using [lua()] tags?), or associated lua script/condition to receive a return value or variable that I keep in a C# class on an object in my game scene?
I'd prefer to keep all my data in one place if possible, and I strongly prefer C# as that place. Frankly, I feel that lua is inferior due to:
- primitive types
- lack of type enforcement
- lack of intellisense (easy to misspell a variable name)
- lack of encapsulation
- potential performance issues
- etc.