egametang / ET

Unity3D Client And C# Server Framework
Other
8.76k stars 2.99k forks source link

8.1分支中的新编译方式会导致UNITY_EDITOR宏失效。 #556

Closed Lead-NorthStar closed 7 months ago

Lead-NorthStar commented 7 months ago

在接入YIUI的时候,YIUI的GM界面的打开是放在UNITY_EDITOR宏中的,在8.1通过快捷键的方式编译,会导致UNITY_EDITOR失效,从而无法GM相关逻辑。使用ET.sln在ide中编译则是正常的。 image

Lead-NorthStar commented 7 months ago

感觉是不是要多加个Debug编译模式之类的

egametang commented 7 months ago

用Define.IsEditor

Lead-NorthStar commented 7 months ago

好的,谢谢