Unity

パーティクルを消す※編集中

ParticleDestroy.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ParticleDestroy : MonoBehaviour
{

    void Start()
    {
                Destroy(gameObject, 4);
    }
 }