123/Assets/Scripts/Rotator.cs
2026-01-27 10:41:07 +09:00

14 lines
256 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Rotator : MonoBehaviour
{
public float rotationSpeed = 60f;
void Update()
{
transform.Rotate(0f, rotationSpeed * Time.deltaTime, 0f);
}
}