Files
AR-Menu/Library/PackageCache/com.unity.shadergraph@0e6324a629e1/Samples~/Common/Scripts/Rotate.cs
2025-11-30 08:35:03 +02: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);
}
}