How to instantiate a class?
Closed this issue · 3 comments
localname1 commented
How to instantiate a class?
issuimo commented
const auto assembly = UnityResolve::Get("assembly.dll | 程序集名称.dll");
const auto pClass = assembly->Get("className | 类名称");
const auto pGame = pClass->New<Game*>();
localname1 commented
Thanks, please tell me how to get Game*!
issuimo commented
Thanks, please tell me how to get Game*!
Game* is just a demonstration class