Have you considered handling different versions of unity during runtime
Have you considered handling different versions of unity during runtime
When a universal tool module is needed
This could be done by possibly using a "if extern method failed" method in return, so you use the class instead. I've already tried to make something like this, but it isn't that great.
You can already choose what version of Unity you're on in GlobalSettings.hpp?
这可以通过添加一个“如果外部方法失败”的返回方法来实现,这样就可以直接使用类本身。我已经尝试过类似的方法,但效果并不理想。
Ok. Thank you for your answer
This is a difficult matter, which means that dynamically determining the Unity version is required. The best case is to use only the IL2CPP API without using IL2CPP structures, because the structures change with versions. You can refer to my project: https://github.com/eternalfuture-e38299/IL2CppReflector
This is a difficult matter, which means that dynamically determining the Unity version is required. The best case is to use only the IL2CPP API without using IL2CPP structures, because the structures change with versions. You can refer to my project: https://github.com/eternalfuture-e38299/IL2CppReflector
thank you