Files
Two-World/Assets/Cainos/Pixel Art Platformer - Village House/Script/ConstantRotation.cs
2025-05-08 16:03:30 +09:00

17 lines
333 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Cainos.PixelArtPlatformer.VillageHouse
{
public class ConstantRotation : MonoBehaviour
{
public Vector3 speed;
private void Update()
{
transform.Rotate(speed * Time.deltaTime);
}
}
}