14 lines
159 B
C#
14 lines
159 B
C#
using UnityEngine;
|
|
|
|
public class destroy : MonoBehaviour
|
|
{
|
|
private void Start()
|
|
{
|
|
Object.Destroy(base.gameObject, 10f);
|
|
}
|
|
|
|
private void Update()
|
|
{
|
|
}
|
|
}
|