Trigger is not detecting Player’s ship and message is not displaying.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Trigger : MonoBehaviour {
void OnColliderStay2D(Collider2D other)
{
if (other.tag == "Ship")
{
Debug.Log("In trigger");
}
}
}