Hello,
I just realized that Angelscript does not really have a 'static' class variables like most languages. What would be the best approach to achieve a variable that will be shared among all instances? I tried to define global int but then it would not allow it because the class accessing it is shared. If I make it shared it doesn't compile - is it because global variables can't be shared yet? I tried looking through the changelog and documentation and could not find anything
This is sadly rather limiting, and the only other idea I have is introducing some artificial "variable storage" that would work externally, but it feels a bit like reinventing the wheel.