Unity 2D: Many Game Objects from a Prefab & Array of Sprites

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Duude this was EXACTLY what I was looking for! And you explained it so beautifully and in detail! You're a legend! Thx so much!!!

RudolfJvVuuren
Автор

EXACTLY WHAT I NEEDED OMG. Thank youuuu

amifeeth
Автор

In the 2DGameKit, I was interested in adding rotate to the MovingPlatform, but couldn't find anything on how to do it. Any idea where to look?

timetorelaxfocus
Автор

How can i creat prfabs randomly but in specific position and number

enghebaelomwasi
Автор

Super helpful, and very elegant solution. Thanks!

ElvishJumpSuit
Автор

Thank you so much! You are a wonderful teacher and Game Maker!

pamhs
Автор

Is it possible to keep the sprites in the same order when I add them to the array? It seems to add them in a random order, but I'm working with some 800 sprites (so I dont want to have to add them one at a time), and the order is important

Magmafrost
Автор

You did what exactly I am looking for, thanks alot

sharkspread
Автор

what if I want to instantiate 1 prefab random number of times at once??

BrightBrainFun
Автор

Awesome tutorial! would this work with Set 2d sprites with set different animations; say one charter who doesn't have a weapon then switch to a sprite where he is holding a weapon?

jackmartino
Автор

how can i create a button like in clash royale game, when i drag the sprite, to create/spawn an object?

alexandrudanielbarbu
Автор

I'm making weapon prefabs so i can switch weapons as I get new ones on the ground. i think I got the idea now to create a drop system for them. thanks

GenaroDev
Автор

Very good your tutorial about unity thanks friend

rafaelyahu
Автор

Hi Can you help me with my project? It is a quiz but I want to create an array so that instead of the question appears an image. Please, help me!

beatrizandrade
Автор

What about using scrip-table objects instead....? Anyway useful video :) thanks

nv
Автор

Thank you so much! It helped me a lot on my game!

victorbezerra
Автор

Very useful.
Thanks for sharing your knowledge.

samdavepollard
Автор

The monkey will never be spawned, because random.range never used index 0

andreitrifonenkov
welcome to shbcf.ru