FiE-Game/src/TwilightMagicSphere.cs

17 lines
256 B
C#
Raw Normal View History

2018-11-20 20:10:49 +01:00
using UnityEngine;
public class TwilightMagicSphere : MonoBehaviour
{
private float angle;
private void Start()
{
}
private void Update()
{
angle += 60f * Time.deltaTime;
base.transform.rotation = Quaternion.AngleAxis(angle, Vector3.up);
}
}