Browse Source

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

Nicolas Cannasse 1 year ago
parent
commit
040807f2ef
1 changed files with 1 additions and 1 deletions
  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;