I’m trying to make an alien game, where my alien is in a spaceship in the sky trying to catch humans with a laser. I’ve added a collider and a point effector to the laser to catch the other gameObject(humans).
the problem comes when iI try to add a OnTriggerStay collider 2D.
I’ve added this code to my humans script:
private void OnTriggerStay(Collider other)
if (other.gameObject.tag == “abduccion”) ;
the tag is the tag I’ve added to my laser object. Can’t understand why the collider isn’t working.