in the delivery script it says the name other does not exist in the current context
im using vs code
btw here is the script:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Delivery : MonoBehaviour
{
void OnCollisionEnter2D(Collision2D other)
{
Debug.Log("i bumped ouch!");
}
void OnTriggerEnter2D(Collider2D collision)
{
// it says the name other does not exist in the current context pls help
if (other.tag == "Package")
{
Debug.Log ("Package Picked Up");
}
}
}