mirror of https://github.com/axmolengine/axmol.git
replace star.pu with lineStreak.pu
This commit is contained in:
parent
9bdcdec60a
commit
d25c025cbe
|
@ -563,7 +563,7 @@ bool Particle3DWithSprite3DDemo::init()
|
||||||
this->addChild(billboard);
|
this->addChild(billboard);
|
||||||
|
|
||||||
|
|
||||||
auto rootps = PUParticleSystem3D::create("star.pu");
|
auto rootps = PUParticleSystem3D::create("lineStreak.pu");
|
||||||
rootps->setCameraMask((unsigned short)CameraFlag::USER1);
|
rootps->setCameraMask((unsigned short)CameraFlag::USER1);
|
||||||
rootps->startParticleSystem();
|
rootps->startParticleSystem();
|
||||||
this->addChild(rootps, 0, PARTICLE_SYSTEM_TAG);
|
this->addChild(rootps, 0, PARTICLE_SYSTEM_TAG);
|
||||||
|
|
Loading…
Reference in New Issue