Changed ScriptObject to be a std::unique_ptr instead of my custom InheritanceHider