I'm trying to instance an object in code.
Normally, I would use ClassName.new(), except in my case, I'm loading the class name from a string variable.
e.g.
var MyClassName = "ColorRect"
var newObject = str2var(MyClassName).new
should create a new ColorRect and store it in newObject.
Is there any way to instance an object without knowing it's class_name until runtime?
Ultimately, all I need to do is getpropertylist of that class type... is there a better way to do that?