Quantcast
Channel: Answers for "Need help with instantiating a prefab in c#"
Browsing latest articles
Browse All 4 View Live

Answer by YoungDeveloper

Hi, so you have to run only one of these conditions. For second condition use else if (random >= 75){ } It will be launched only if first one was unsuccessful.

View Article



Answer by xortrox

This code is all untested. I would use a barricade handler with a list of barricade objects for easier control. (I don't know much about the game you're making so this may be entirely unecessary for...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images