
Added blackhole swirl texture and materials Added Magnet, Hunter and Drop core powerups and script overhaul for powerups in general Added Scenes and Cinematic changes for the game, win and death screens Added a score Changed the way enemy spawns work Removed unused scripts
24 lines
477 B
C#
24 lines
477 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class ParticalCleanUp : MonoBehaviour
|
|
{
|
|
// Start is called before the first frame update
|
|
private TimerHelper _removeTimer;
|
|
|
|
void Start()
|
|
{
|
|
_removeTimer = new TimerHelper(2.0f, false);
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
if(_removeTimer.HasTicked(Time.deltaTime))
|
|
{
|
|
Destroy(gameObject);
|
|
}
|
|
}
|
|
}
|