Replace UltimateXR with HurricaneVR

This commit is contained in:
2024-08-08 17:01:07 +02:00
parent e8658374d6
commit fb21dbbb73
5932 changed files with 358362 additions and 2174150 deletions

View File

@@ -0,0 +1,22 @@
using System.Collections;
using UnityEngine;
namespace HurricaneVR.Framework.Components
{
/// <summary>
/// Destroys this game object after a timeout
/// </summary>
public class HVRDestroyTimer : MonoBehaviour
{
public void StartTimer(float timeout)
{
StartCoroutine(Cleanup(timeout));
}
private IEnumerator Cleanup(float timeout)
{
yield return new WaitForSeconds(timeout);
Destroy(this.gameObject);
}
}
}