初期コミット

This commit is contained in:
oogushiyuuga
2026-04-21 09:53:45 +09:00
parent 5b6b38026b
commit 8c408bee21
1243 changed files with 300054 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
using UnityEngine;
namespace Unity.VRTemplate
{
/// <summary>
/// Destroys GameObject after a few seconds.
/// </summary>
public class DestroyObject : MonoBehaviour
{
[SerializeField]
[Tooltip("Time before destroying in seconds.")]
float m_Lifetime = 5f;
void Start()
{
Destroy(gameObject, m_Lifetime);
}
}
}