获取unity当前版本号

Debug.Log("Version of the runtime: " + Application.unityVersion);


注:这行代码必须写在主线程里,也就是继承自MonoBehaviour的脚本里

原文地址:https://www.cnblogs.com/secbook/p/2655369.html