Quantcast
Channel: Answers for "Need help with instantiating a prefab in c#"
Browsing all 4 articles
Browse latest 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


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 all 4 articles
Browse latest View live


Latest Images