I have a rigid body and a Player tag on my guy, and the finish pole has a trigger but for some reason the script won’t work
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Finish : MonoBehaviour
{
void OnTriggerEnter2D(Collider2D other)
{
if(other.tag == "Player")
{
Debug.Log("you win");
}
}
}