Hey guys! I am new to unity programming. I have been trying to get a score system in place but it has not been going well. I want to make it so that every time a Game Object tagged Mean hits another Game Object named scorer (Both have a 2d box collider and a rigid body) it increments the score by 1. I have made the UI text a parent object of scorer. Here is my code. Can you guys help me make it work because for some reason my code does not seem to be working. Thanks.
Unity Score System c#
Code (CSharp):
- using...