Beispiel #1
0
        /// <summary>
        /// Initialize a new model for hardware-instanciation
        /// </summary>
        /// <param name="particleType">Type of the particles to store uniquely</param>
        /// <param name="particleSystem">Particle-system</param>
        public static void Initialize(ParticleType3D particleType, ParticleSystem3D particleSystem)
        {
            // Startup the particle-systems properly
            particleSystem.Awake();
            particleSystem.Start();

            ParticleSystems3D[particleType] = new ParticleInstance(particleSystem);
        }
Beispiel #2
0
 /// <summary>
 /// Initialize the particle system
 /// </summary>
 public override void Start()
 {
     _smokePlumeParticles.Start();
 }
Beispiel #3
0
 /// <summary>
 /// Initialize the particle system
 /// </summary>
 public override void Start()
 {
     _cashDropParticles.Start();
 }