查看Unity使用Mono版本

发布时间:2019-04-21编辑:佚名阅读(1622)

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)); 
}


  关键字:查看UnityMono版本


鼓掌

0

正能量

0

0

呵呵

0


评论区