How to Randomly Spawn Resources in Unity 3D in under 7 minutes

preview_player
Показать описание
In this video we are, in under 7 minutes, going over how you would go about randomly spawning resources in Unity 3D. This can be tweaked however you wish for. If you have any question, please feel free to reach out in the comments!

Scripts used in video:

I am terribly sorry about the poor quality. I messed up my setup of the recording software. It will be better in the future!

In this video series, Unity Basics, i am aiming to give you the tools it takes to start learning to use Unity by yourself. Hopefully you will have a basic idea of how you will go about learning and creating new and fun functionality by yourself!

A like, comment and perhaps a subscription with the bell notifications turned on, is very much appreciated! But i love you anyway for just watching :)

0:00 Setting up
0:24 Resource Spawner Script
6:37 It's working! :-)
6:48 Tweaking
7:14 Better testing
8:14 Outro
Рекомендации по теме
Комментарии
Автор

What would you like to see a guide on? And what do you think of this video format? 🙂

BobsiTutorial
Автор

This was EXACTLY what I needed THANK YOU!

willthunder
Автор

I don't know what it is about your no-nonsense and yet clear style, but I follow the reasoning behind every line of code WAY simpler than a lot of other people. Another awesome video.

alyssafaden
Автор

this was great, simple, and just used it! thnx!

sxsignal
Автор

Interesting video, good job Bobsi. I was wondering, is it possible to apply this concept by having people generate and magically move them within range? 😊

Axel
Автор

thank you for this tutorial! This code was the only one that worked for me. Im also wondering what the code for like it spawns different types of trees. if that doesnt work, would it work if i would put two treespawner scripts on the gamecontroller for two different types of trees?

liangmeng
Автор

i tried use this code in 2D and nothing spawns

isimsizanimator