D
D
Dealer17082021-11-19 12:53:34
Unity
Dealer1708, 2021-11-19 12:53:34

How to permanently move child object along with parent in Unity2D?

6197737e90f51705622332.png

It is necessary that the Image be permanently on the Player. But when interacting with the Image, it stops and stops moving along with the player
61977416d5e18926863791.png
619773da93c49522983786.png

. I realized that when Image.SetAcrive(False) , that's when it stops changing position

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2021-11-19
@freeExec

1. If the object is really located inside another object, then it moves with it without additional gestures.
2. If you move it yourself in Update, then you do not need to turn it off.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question