focus-creative-games / hybridclr

HybridCLR是一个特性完整、零成本、高性能、低内存的Unity全平台原生c#热更新解决方案。 HybridCLR is a fully featured, zero-cost, high-performance, low-memory solution for Unity's all-platform native c# hotupdate.
https://code-philosophy.com/
MIT License
6.6k stars 670 forks source link

请问签名的生成有可能离线完成吗 #149

Closed danggui1995 closed 1 week ago

danggui1995 commented 1 week ago

比如直接将Il2CppMethodDefinition.token与签名成对生成出来,不用实时去算

pirunxi commented 1 week ago

能,但是c#里有泛型,这些无法提前计算。简单省事起见就这么实现了。另外每个函数只绑定一次,优化的效果可能不明显