Hey everyone!, I’m currently working on the 2D course on part 24: If Statements and Tags, However when I get upto the debug.log for the package pick up section, I’m not receiving any logs from the console, also my brackets under the tag seem to be yellow, could anyone offer a solution? Thankyou!
void OnTriggerEnter2D(Collider2D other)
{
if (other.tag == "Package")
{
Debug.Log("Package picked up");
}
}