Parcourir la source

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

Nicolas Cannasse il y a 1 an
Parent
commit
040807f2ef
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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;