浏览代码

editor code only

ShiroSmith 7 年之前
父节点
当前提交
98e2dac58f
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      hide/prefab/PolygonEditor.hx

+ 4 - 1
hide/prefab/PolygonEditor.hx

@@ -1,6 +1,7 @@
 package hide.prefab;
 import hxd.Key as K;
 
+#if editor
 enum ColorState{
 	None;
 	Overlapped;
@@ -590,4 +591,6 @@ class PolygonEditor {
 			createVector(p);
 		}
 	}
-}
+}
+
+#end