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