summaryrefslogtreecommitdiff
path: root/SparksExecutioner.cs
blob: 5b28cf8bbec18931e232e3af2f3246921bf26e03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using UnityEngine;

public class SparksExecutioner : MonoBehaviour
{
	public float Lifetime = 1f;

	private void Start()
	{
		Invoke("Kill", Lifetime);
	}

	private void Kill()
	{
		Object.Destroy(base.gameObject);
	}
}