VR4RoboticArm2/VR4RoboticArm/Library/PackageCache/com.unity.shadergraph/Samples~/Common/Scripts/Rotate.cs
IonutMocanu 48cccc22ad Main2
2025-09-08 11:13:29 +03: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);
}
}