r2mods/ilspy_dump/ror2_csproj/RotateObject.cs

16 lines
213 B
C#
Raw Normal View History

2024-10-04 07:26:37 +00:00
using UnityEngine;
public class RotateObject : MonoBehaviour
{
public Vector3 rotationSpeed;
private void Start()
{
}
private void Update()
{
base.transform.Rotate(rotationSpeed * Time.deltaTime);
}
}