2025-07-11 15:42:48 +05:00

17 lines
286 B
C#

namespace ArionDigital
{
using UnityEngine;
public class DestroyAfterTime : MonoBehaviour
{
private void Start()
{
Invoke("DestroySelf", 3.0f);
}
void DestroySelf()
{
Destroy(gameObject);
}
}
}