mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-04-30 06:44:27 +02:00
14 lines
222 B
C#
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);
|
|
}
|
|
}
|