2022-10-27 21:39:34 -04:00

13 lines
274 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Endzone : MonoBehaviour
{
private void OnTriggerEnter(Collider other) {
if(other.tag.Equals("Player")){
GameController.Instance.EndGame();
}
}
}