Files
BABA_YAGA/Assets/Scripts/Player/Generic/Utils/vRotateObject.cs
2026-06-04 10:42:23 +07:00

14 lines
301 B
C#

using UnityEngine;
namespace Invector
{
public class vRotateObject : MonoBehaviour
{
public Vector3 rotationSpeed;
// Update is called once per frame
void Update()
{
transform.Rotate(rotationSpeed * Time.deltaTime, Space.Self);
}
}
}