Explorar el Código

修复非ENABLE_VIEW模式的编译错误

tanghai hace 2 años
padre
commit
70a36404a8

+ 4 - 1
Unity/Assets/Scripts/Editor/ComponentViewEditor/TypeDrawer/ISceneTypeDrawer.cs

@@ -1,3 +1,5 @@
+#if ENABLE_VIEW
+
 using System;
 using System;
 using System.Reflection;
 using System.Reflection;
 using UnityEditor;
 using UnityEditor;
@@ -20,4 +22,5 @@ namespace ET
             return value;
             return value;
         }
         }
     }
     }
-}
+}
+#endif