internal void BuildAssembly() { this.runtimeAssemblyData = CpuParticleLogicBuilder.GenerateAssembly(namespaceName, runtimeClassName, methods.ToArray()); }
//all code for the particle types are stored in the same assmebly internal void AddParticleType(ParticleSystemTypeData typeData) { methods.Add(CpuParticleLogicBuilder.BuildCpuLogic(typeData.Name + "_frame", typeData.ParticleLogicData.Frame, false)); methods.Add(CpuParticleLogicBuilder.BuildCpuLogic(typeData.Name + "_once", typeData.ParticleLogicData.Once, true)); }