mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-26 15:27:59 +01:00
16 lines
282 B
C#
16 lines
282 B
C#
using UnityEngine;
|
|
|
|
namespace Fie.Utility
|
|
{
|
|
[ExecuteInEditMode]
|
|
public class FieUtilRotater : MonoBehaviour
|
|
{
|
|
[SerializeField]
|
|
private Vector3 rotateAngleInSec = Vector3.zero;
|
|
|
|
private void Update()
|
|
{
|
|
base.transform.Rotate(rotateAngleInSec * Time.deltaTime);
|
|
}
|
|
}
|
|
}
|