Cloned from the Team project repo

This commit is contained in:
iDunnoDev
2022-06-18 15:55:39 +01:00
committed by iDunnoDev
parent 87af0f71de
commit e30ffcfc80
1247 changed files with 174704 additions and 0 deletions

View File

@ -0,0 +1,28 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ParticalCleanUp : MonoBehaviour
{
// Start is called before the first frame update
private float tik;
private float end = 2;
void Start()
{
tik = 0;
}
// Update is called once per frame
void Update()
{
if(tik >= end)
{
Destroy(gameObject);
}
else
{
tik += Time.deltaTime;
}
}
}