mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-10 11:45:09 +00:00
13 lines
222 B
C#
13 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);
|
|
}
|
|
}
|