Files
WildRoot/Assets/Script/Rotator.cs
T

13 lines
179 B
C#
Raw Normal View History

2026-04-14 17:06:58 +09:00
using UnityEngine;
public class Rotator : MonoBehaviour
{
public float speed = 60f;
void Update()
{
transform.Rotate(0f, speed*Time.deltaTime, 0f);
}
}