void p2(CCPoint pos) { if (part != null) { part.RemoveFromParent(); part = null; } part = new CCParticleSystemQuad("particle_texture.plist"); part.Position = pos; part.AutoRemoveOnFinish = true; //?? part.ScheduleOnce((x) => { part.RemoveFromParent(); part = null; }, 1f); AddChild(part); }