I have a slight problem which I have a solution to but want to check to see if I need to do it.
I have a structure that inherits from another structure and I need the cast ability in angel script to typecast the inherited object to the base class.
However this requires the object to be a reference however I would rather the object be of value type since its only a structure to send to a function to create another object.
If i created the class with no ref counter I take I would have to delete the object within C++ and ensure the angel script object/s is also cleaned up as well.
I can still inherit and add a ref counter but I would rather not have to do this.