HeavenStudio/Assets/Scripts/Destroy.cs
2021-12-30 03:26:18 -05:00

14 lines
222 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Destroy : MonoBehaviour
{
public float time;
private void Start()
{
Destroy(this.gameObject, time);
}
}