Files
Cielonos/Assets/TempResources/VolumetricFog2/Demo/Scripts/FanRotator.cs
SoulliesOfficial ef7b479712 initial
2025-11-25 08:19:33 -05:00

21 lines
484 B
C#

using UnityEngine;
namespace VolumetricFogAndMist2.Demos {
public class FanRotator : MonoBehaviour {
Transform thisTransform;
public float speed = 90;
// Start is called before the first frame update
void Start () {
thisTransform = GetComponent<Transform>();
}
// Update is called once per frame
void Update () {
thisTransform.Rotate(0, speed * Time.deltaTime, 0, Space.Self);
}
}
}