neon_run/Assets/Scripts/Rotate.cs
2025-11-24 09:36:52 +05:30

19 lines
304 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Rotate : MonoBehaviour
{
public Vector3 speed;
void Start()
{
}
// Update is called once per frame
void Update()
{
transform.Rotate(speed * Time.deltaTime);
}
}