Files
beyond/Assets/ThirdParty/Invector-3rdPersonController/Basic Locomotion/Scripts/Generic/Utils/vRotateObject.cs
2024-11-20 15:21:28 +01:00

15 lines
327 B
C#

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