Beginner Bolt Tutorial: Instantiate Prefabs / Spawn Objects

Home Mech
Home Mech
13.6 هزار بار بازدید - 6 سال پیش - I have a new course
I have a new course on Udemy! Learn Game Artificial Intelligence in Unity Visual Scripting:
https://www.udemy.com/course/visual-s...

Spawn objects into your Unity scene! This is the first Bolt video I ever did back in 2018--I promise I get better at this each video :D.

Here is the playlist to continue learning from this video: Program a Cute Factory in Unity with ...

Pre-2021 versions of Unity, you can find Bolt here: https://assetstore.unity.com/packages...

Here, we recreate the instantiate prefab C# script we used in my companion C# video. The approach we're taking is using a self-looping state machine with a timer in the transition. A self-looping state isn't necessary to instantiate things, but it's a neat "visual-scripty" way to do it.

After this one I started making videos for Bolt officially, so sadly there isn't more of this sandbox / marble run series, but I will definitely make a series as Unity Visual Scripting evolves into a more final form.

Check out OneWheelStudio's video on "object pooling" for a more performant way to do this (How to Spawn Faster? Object Pooling w...).
6 سال پیش در تاریخ 1397/06/14 منتشر شده است.
13,690 بـار بازدید شده
... بیشتر