Files
stas-barecky/Library/PackageCache/com.unity.shadergraph@3cfe1d1f3f8c/Samples~/Common/Scripts/Rotate.cs
2026-01-08 20:43:08 +05:00

12 lines
219 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Rotate : MonoBehaviour
{
void Update()
{
transform.Rotate(new Vector3(0f, 10f, 0f) * Time.deltaTime);
}
}