// Update is called once per frame void Update() { ps.run(); if (ps.isDead()) { Destroy(ps.sphere); ps = new Particle_4_1(new Vector3(8, 8, 0), 1f, RandV()); } }
// Use this for initialization void Start() { ps = new Particle_4_1(new Vector3(8, 8, 0), 1f, RandV()); }