Files
2026-03-30 20:11:57 +07:00

15 lines
284 B
C#

using UnityEngine;
namespace FishNet.Example.ColliderRollbacks
{
public class DestroyAfterDelay : MonoBehaviour
{
[SerializeField]
private float _delay = 1f;
private void Awake()
{
Destroy(gameObject, _delay);
}
}
}