Quantcast
Channel: Answers for "Need help with instantiating a prefab in c#"
Browsing index pages (4 articles)

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


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

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
Browsing index pages (4 articles)


Latest Images