Files

14 lines
301 B
C#
Raw Permalink Normal View History

2026-05-30 09:16:35 +07:00
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);
}
}
}