J's Study log

[Unity] Parents and Child Object 본문

Computer Language/Unity

[Unity] Parents and Child Object

정우섭 2019. 2. 27. 01:54

You can drag and drop the object to another, and it will be just like the picture.


If Stage object have mouse input script, Ground and Obstacle will move according to the script. And the situation like picture we call Stage 'Parent Object', and Ground&Obstacle 'Child Object'.

'Computer Language > Unity' 카테고리의 다른 글

[Unity] Trigger and Collision  (0) 2019.03.02
[Unity] Local Transform  (0) 2019.02.27
[Unity] Input Mouse Button  (0) 2019.02.27
[Unity] Input keys  (0) 2019.02.25
[Unity] Input Arrow Keys  (0) 2019.02.25
Comments