public override void InitFromFile(string fileName) { if (this.Disposed == true) { throw new ObjectDisposedException(this.GetType().Name); } _name = fileName; _particleSystem = idE.DeclManager.FindType <idDeclParticle>(DeclType.Particle, fileName); }
public override void TouchData() { if (this.Disposed == true) { throw new ObjectDisposedException(this.GetType().Name); } // ensure our particle system is added to the list of referenced decls _particleSystem = idE.DeclManager.FindType <idDeclParticle>(DeclType.Particle, _name); }