FiE-Game/Assets/Scripts/TwilightMagicSphere.cs

14 lines
277 B
C#

using UnityEngine;
public class TwilightMagicSphere : MonoBehaviour {
private float angle;
private void Start() {
}
private void Update() {
angle += 60f * Time.deltaTime;
transform.rotation = Quaternion.AngleAxis(angle, Vector3.up);
}
}