mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2025-02-18 11:24:22 +01:00
17 lines
282 B
C#
17 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);
|
||
|
}
|
||
|
}
|
||
|
}
|