more enemy stuff

This commit is contained in:
myondev 2026-02-26 07:48:50 -08:00
parent 3b60583c76
commit d8c49317a3
235 changed files with 27781 additions and 3909 deletions

View file

@ -0,0 +1,14 @@
using System;
using UnityEngine;
public class BossRange : MonoBehaviour
{
private void OnTriggerEnter2D(Collider2D other)
{
if (other.CompareTag(tag))
{
EnemySpawner.instance.StartBoss();
gameObject.SetActive(false);
}
}
}