Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Unity Score System c#

$
0
0
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.
Code (CSharp):
  1. using...
Unity Score System c#

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>