arenos-nexus/Arenos Nexus/Library/PackageCache/com.unity.shadergraph@940512a5d7e1/Samples~/Common/Scripts/Rotate.cs

12 lines
219 B
C#
Raw Normal View History

2025-09-25 22:01:28 +02:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Rotate : MonoBehaviour
{
void Update()
{
transform.Rotate(new Vector3(0f, 10f, 0f) * Time.deltaTime);
}
}