using System.Collections; using System.Collections.Generic; using UnityEngine; public class RotateParticles : MonoBehaviour { public float rotationSpeed = 1.0f; private ParticleSystem particles; void Start() { particles = GetComponent(); } void Update() { Quaternion rotation = Quaternion.Euler(0.0f, 0.0f, Time.time * rotationSpeed); particles.transform.rotation = rotation; } }