- Home /
How to create a score system
I've plowed through tons of articles and still haven't figured out how to make a score system where when you collide with an object your score goes up and the object disappears.
Comment
Best Answer
Answer by rutter · Mar 17, 2012 at 12:47 AM
You'll probably want a custom behavior script with an `OnCollisionEnter()` hook. You can read more about collision functions here. Unity offers many collision components, which you can read about here.
To make an object "disappear", I assume you want to call `Destroy()` on it.
Your answer
Follow this Question
Related Questions
coin collecting with onscreen score 1 Answer
Level end after certian amount of points collected 2 Answers
How do I save highscore (Very Simple) 3 Answers
Highscore Save 0 Answers
Scoreboard will not update 1 Answer