Aetheria/Assets/Plugins/GPUTrail/Sample/GPUTrailSample/AutoRotate.cs

14 lines
202 B
C#
Raw Normal View History

using UnityEngine;
using System.Collections;
public class AutoRotate : MonoBehaviour {
public Vector3 rotSpeed;
void Update () {
transform.Rotate(rotSpeed * Time.deltaTime);
}
}