issuimo/UnityResolve.hpp

How to instantiate a class?

Closed this issue · 3 comments

How to instantiate a class?

const auto assembly = UnityResolve::Get("assembly.dll | 程序集名称.dll");
const auto pClass = assembly->Get("className | 类名称");
const auto pGame = pClass->New<Game*>();

Thanks, please tell me how to get Game*!

Thanks, please tell me how to get Game*!

Game* is just a demonstration class