70 bool success = pm.IsFinishedAllocating();
79 bool result =
Assert(pm.CreateParticleByPath(particlePath, pp) != null);
80 Debug.ParticleLog(
"Expecting VME: All particles in pool are already used.",
this,
"TestOwnership");
81 result &=
Assert(pm.CreateParticleByPath(particlePath, pp) == null);
83 result &=
Assert(pm.CreateParticleByPath(particlePath, pp) != null);
Entity which has the particle instance as an ObjectComponent.
class ParticleManagerConstants ParticleManagerSettings(int poolSize, int flags=ParticleManagerSettingsFlags.NONE)
Settings given to ParticleManager on creation (in ctor)
void ParticleManager(ParticleManagerSettings settings)
Constructor (ctor)