Copy UI Objects from One Project Editor to Another in Unity

Опубликовано: 02 Апрель 2023
на канале: DA LAB
9,909
151

Copy UI game object or a group of UI objects from the editor of one Unity project to the editor of another project using the steps below:
In the FirstProject
Hierarchy - Canvas - Inspector - Canvas Scaler - UI Scale Model - Select Constant Pixel Size if you want the UI element to maintain its current size.

Hierarch - Select the UI Game Object or Group - Drag it to the Project Window to Create a Prefab

Project Window - Right-Click on the Prefab - Export Package - Export - Select Folder and Click Save

In the SecondPorject:
Hierarchy - Right-Click - UI - Canvas

Project - Right-Click - Import Package - Custom Package - Select Package - Open - OK
Drag the Prefab to the Hierarch as a child for the Canvas object

Hierarch - Right-Click of the imported object - Prefab - Unpack

Then, you can delete the prefab from the Project Window.


На этой странице сайта вы можете посмотреть видео онлайн Copy UI Objects from One Project Editor to Another in Unity длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь DA LAB 02 Апрель 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 9,909 раз и оно понравилось 151 зрителям. Приятного просмотра!