Hello again, I’m following the Unity 2D course and am having trouble activating a trigger. I wrote the code as in the video, checked “Is Trigger” on the object, added the trigger script to the object as a component, and wrote a Debug.Log message to be displayed in the Console window when I pass through the object. However, even though I did all of these things, the trigger does not work because I every time I go through the object nothing appears on the Console window. I’m not sure what the problem is. Maybe it has to do with coding? Here is a picture of the code I wrote for the trigger. Can you help me find out what the problem is?
Thanks