Because the project needs , I’m trying to rebuild libmono.so to add some encrypt algorithm when load “Assembly-CSharp.dll”.
But if there is a way to get unity-editor-version by apk (just like unity-5.5.2f1) , someone can easily find the pure libmono.so and replace my libmono.so .
So, can anyone tell me it’s possible or not ?
Thanks ! ![]()
Would this work?
*old:
if nothing else, could put big list of these,
#if UNITY_5_0_1
string version = "5.0.1";
#endif
#if UNITY_5_3_1
string version = "5.3.1";
#endif
..
or probably easier to do it at build time and save it somewhere,
http://answers.unity3d.com/answers/489766/view.html
Thanks! The http://answers.unity3d.com/answers/489766/view.html solved my problem.