12 lines
157 B
C#
12 lines
157 B
C#
![]() |
using UnityEngine;
|
|||
|
|
|||
|
public class Ef_Destory : MonoBehaviour
|
|||
|
{
|
|||
|
public float time;
|
|||
|
|
|||
|
private void Start()
|
|||
|
{
|
|||
|
Object.Destroy(base.gameObject, time);
|
|||
|
}
|
|||
|
}
|