mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-29 00:27: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);
|
|
}
|
|
}
|