- Home /
Show score when enemy is destroyed C#
Hey Everyone,
Just begun programming and still have no idea what I'am doing. For my assignment I must stick to C#, and all I can find on what I need to do is JS. I need a script that when my projectile destroys the enemy, I receive points which is displayed constantly on screen with a GuiText.
Thank you. :D
For starters, translating from JS to C# is very straightforward, if a little tedious at times. You should really learn to do it, since it will be a very useful skill for you.
I tried changing the JS scripts i found to C#, no luck, im either doing it wrong or the wrong scripts i want.
Answer by roamcel · Jul 03, 2012 at 08:28 AM
I suggest that you access the scripting reference and use the search box to find the functions in your code: you will notice that you can change the example language!
This way it'll be easy to convert an instruction from a language to the other.
Oh and regarding your question: there's countless ways to do what you need. The score is a 3d object, a texture, or simple text?
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Please Help Me 1 Answer
Point system, something wrong 1 Answer
GUIText not updating score.... 1 Answer