So I’m new to Unity but I’ve been stuck on a problem for more than 6 hours. The problem is that I can’t get Unity to print something in the console. when I enter:
void OntriggerEnter(Collider Player)
{
Debug.Log(“You lose?”);
}
to a roller game created by:Unity Full Beginner Tutorial 2020 | Make your first game! - YouTube (55:31)
I have is Trigger selected and I have a Rigid body on my cube and a sphere collider(named Player with “Player” tag. I also have a cylinder collider that has the isTrigger . This is my first question so I don’t know how to post the code for it/pictures but if anyone has tips/videos on how to solve this problem that would help thanks.(If I don’t respond it is because I went to bed and I will Answer tomorrow.)