This commit is contained in:
2026-01-06 17:47:11 +01:00
commit 8423e2b790
1313 changed files with 295355 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
using UnityEngine;
namespace Unity.VRTemplate
{
/// <summary>
/// Rotates this object at a user defined speed
/// </summary>
public class Rotator : MonoBehaviour
{
[SerializeField, Tooltip("Angular velocity in degrees per second")]
Vector3 m_Velocity;
void Update()
{
transform.Rotate(m_Velocity * Time.deltaTime);
}
}
}