2025-03-03 20:25:14 +08:00

14 lines
265 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class XuanZhuan_Loop: MonoBehaviour
{
public float speed ;
public Vector3 dir;
void Update()
{
transform.Rotate(dir * Time.deltaTime * speed);
}
}