D
D
DuckMcQuack2018-04-22 18:10:33
C++ / C#
DuckMcQuack, 2018-04-22 18:10:33

Unity3d | how to create a child object with a script?

There is an object, it is necessary that when the button was pressed, it would be created (instantiate) child to another object. (Do not throw links to documentation and Google)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
Griboks, 2018-04-22
@DuckMcQuack

Read the documentation about instantiate. Everything is written there.

G
GavriKos, 2018-04-22
@GavriKos

Do you have a problem with what exactly? With a button click event? With object creation? With the "childhood" of the object?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question