Particle System
Table of Contents
Particle System reference
Time.timeScale
independent ParticleSystem
:
using UnityEngine;
using System.Collections;
public class ParticaleAnimator : MonoBehaviour
{
public ParticleSystem particle;
private float lastTime;
void Start ()
{
lastTime = Time.realtimeSinceStartup;
}
void Update ()
{
float delta = Time.realtimeSinceStartup - lastTime;
particle.Simulate(delta, withChildren: true, restart: false, fixedTimeStep: false);
lastTime = Time.realtimeSinceStartup;
}
}