mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-23 14:17:59 +01:00
14 lines
277 B
C#
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);
|
|
}
|
|
}
|