Trying to make a small reflection system
gamedev.net
Hi, I'm trying to make a small reflection system for angelscript, The ObjectReflection is done and tested, the FunctionReflection remain untested, I'm currently working on my VariableReflection class and I got a problem, when I try to set the value of the variable, it won't work. here's my set method:bool VariableReflection::Set(void* obj, int typeId, void* newValue) {if (!obj) return false;auto* engine = AngelScriptEngine::GetInstance( ).GetScriptEngine( );
0 التعليقات ·0 المشاركات ·95 مشاهدة