浏览代码

Prefab.removeInstance

trethaller 6 年之前
父节点
当前提交
e2c415d070
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      hxd/prefab/Prefab.hx

+ 4 - 0
hxd/prefab/Prefab.hx

@@ -82,6 +82,10 @@ class Prefab {
 	public function updateInstance( ctx : Context, ?propName : String ) {
 	}
 
+	public function removeInstance( ctx : Context ) : Bool {
+		return false;
+	}
+
 	public function saveRec() : {} {
 		var obj : Dynamic = save();
 		obj.type = type;