Wiki

Clone wiki

uPrefabs / Learn the Interface

<< Back

Learn the Interface

The interface is similar to the default Unity prefab system; with a few modifications.

The Revert button and the Apply button now open a contextual menu to get a specific set of uPrefab controls.

Revert Tools

uprefabs-revert-screen.jpg

Instance Context

Depending on whether you have an instance selected or a project asset prefab selected, the context of the menu will change.

Revert Object This will replace the selected GameObject with the prefab it references. This removes all instance modifications.

Transform These will revert specific transform properties. The Transform is a special case in uPrefabs.

Components Each component can be reverted individually.

Use Processors When this is selected, it will revert the component using a component processor. If none is found, it will revert it with the default behavior.

Asset Context

Revert Object This will search the project for matching prefabs and replace the objects.

Transform These will revert specific transform properties on matching prefabs.

Components This will search the project for matching prefabs and replace the individual component.

Use Processors When this is selected, it will revert the component using a component processor. If none is found, it will revert it with the default behavior.

Apply Tools

uprefabs-apply-screen.jpg

Instance Context

uprefabs-hierarchy-example.jpg

Apply Self & Parent(s) This will apply any instance modifications to its prefab asset. This will apply the parent chain upwards.

In the example above, if we Apply Self & Parent(s) on the Tree (1) object. It will apply to itself, then apply the Forest prefab; keeping the prefab hierarchy updated.

Apply Parent(s) only This will apply the parent(s), but leave the prefab asset in-tact.

In the example above, if we Apply Parent(s) Only on the Tree (1) object. It will only apply the Forest prefab, keeping the prefab hierarchy updated.

Components These will apply the component directly to the prefab asset.

Change State Notifications

uprefabs-state-change-1 copy.jpg

The notification next to the prefab will notify you when it has been changed. The color of the text is based on the priority of the notification. See below image:

uprefabs-state-change-2.jpg

Updated