Type type = Type.GetType("Mono.Runtime"); if (type != null) { MethodInfo displayName = type.GetMethod("GetDisplayName",BindingFlags.NonPublic | BindingFlags.Static); if (displayName != null) Debug.Log(displayName.Invoke(null, null)); }
查看Unity使用Mono版本
最新推荐文章于 2024-06-25 21:12:59 发布