首页 > 其他 > 详细

2020年4月

时间:2020-03-31 16:40:06      阅读:56      评论:0      收藏:0      [点我收藏+]
技术分享图片
Debug.Log("GetTypes().Length: " + Assembly.GetExecutingAssembly().GetTypes().Length);
Debug.Log("CodeBase: " + Assembly.GetExecutingAssembly().CodeBase);
Debug.Log("FullName: " + Assembly.GetExecutingAssembly().FullName);
Debug.Log("GlobalAssemblyCache: " + Assembly.GetExecutingAssembly().GlobalAssemblyCache);
Debug.Log("Location: " + Assembly.GetExecutingAssembly().Location);


Windows-Andorid,ios
GetTypes().Length: 5383
CodeBase: file:///D:/xx/Library/ScriptAssemblies/Assembly-CSharp.dll
FullName: Assembly-CSharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
GlobalAssemblyCache: False
Location: D:\xx\Library\ScriptAssemblies\Assembly-CSharp.dll

Mac
GetTypes().Length: 5383
CodeBase: file:///Users/xx/Library/ScriptAssemblies/Assembly-CSharp.dll
FullName: Assembly-CSharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
GlobalAssemblyCache: False
Location: Users/xx/Library/ScriptAssemblies/Assembly-CSharp.dll

Android
GetTypes().Length: 5368
CodeBase: file:///data/app/xx/base.apk/assets/bin/Data/Managed/Assembly-CSharp.dll
FullName: Assembly-CSharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
GlobalAssemblyCache: False
Location: data/app/xx/base.apk/assets/bin/Data/Managed/Assembly-CSharp.dll

Ios
GetTypes().Length: 5368
CodeBase: file:///private/var/containers/Application/xx/test1.app/Assembly-CSharp.dll
FullName: Assembly-CSharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
GlobalAssemblyCache: False
Location: 
Assembly.GetExecutingAssembly()

 

2020年4月

原文:https://www.cnblogs.com/revoid/p/12606139.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!