浏览代码

make ParticleInstance public so it can be referenced in game closures typing

Nicolas Cannasse 1 年之前
父节点
当前提交
040807f2ef
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hrt/prefab/fx/Emitter.hx

+ 1 - 1
hrt/prefab/fx/Emitter.hx

@@ -79,7 +79,7 @@ typedef PartArray = #if (hl_ver >= version("1.14.0")) hl.CArray<ParticleInstance
 typedef Single = #if (hl_ver >= version("1.13.0")) hl.F32 #else Float #end;
 
 @:publicFields @:struct
-private class ParticleInstance {
+class ParticleInstance {
 	var prev : ParticleInstance;
 	var next : ParticleInstance;