View by Component
Physics , Physics 2D , Audio , UI , Tilemap , Cinemachine , Timeline , Network , Animation , Animator , Sprites , Scripting , Tips , Colliders , 2D Colliders , Rigidbody , Rigidbody 2D , Interaction , Editor , Game Mechanics , In-App Purchase , Material , General , Prefab , ProGrids , Light , Rendering , Ads , Scriptable Objects , Events , Level Design , Making Of , Assets , Procedural , ProBuilder , Particles , Machine Learning , News & Announcements , Conference , Enemy & NPC , PlayerPrefs , Post Processing , Interview , Shader , VFX , TextMeshPro , InputSystem , XR
New Prefab Workflows 3/4: 2D Level Design With Tilemap and Nested Prefabs Unity Online User Group
Uploaded by UnityShare: Twitter Facebook
Learn more and try the preview build: https://ole.unity.com/newprefabs
Improved workflow
The new Prefab workflows, which are now available as previews, allow you to split up scenes and Prefabs on a granular level. This gives you greater flexibility, increases your productivity and enables you to work confidently without worrying about making time-consuming errors.
The improvements are based on surveys with more than 150 enterprise customers, numerous interviews, several usability tests and two game jams. The long-term goal has been not only to implement support for nesting, but to rethink the core Prefab workflows so different team members can simultaneously edit Prefabs confidently and efficiently.
Nesting
Previously, users were forced to choose between creating large monolithic Prefabs, like buildings, or more granular ones, like pieces of furniture, but they couldn't do both.
Now with support for nested Prefabs, a large building can be made up of many smaller room Prefabs, which in turn can be made up of multiple pieces of furniture Prefabs, and so on.
This makes it easier for teams of all sizes to:
Split up Prefabs into multiple entities for greater efficiency
Reuse any content, from small to large
Work on different parts of content simultaneously
Learn more
Prefab Variants
Flexible properties increase efficiency
As a default, a Prefab Variant inherits the objects and properties of the Prefab it is a variant of, but at the same time, you have the possibility to override those properties. This is similar to the concept of inheritance in object-oriented programming.
For example, if you had multiple door Prefabs, you could choose to make some of them a different color, while allowing the rest to inherit the existing Prefab color property. Any change made to the original door Prefab will affect the variants of it as well, except those properties which have been overridden.
Prefab Mode
Avoid time-consuming mistakes
A cornerstone of the new workflows, Prefab Mode enables you to edit in isolation. While this means that you will have to approach Prefab editing in a slightly different way, you can feel secure that any errors made will not have negative consequences.
Improved workflow
The new Prefab workflows, which are now available as previews, allow you to split up scenes and Prefabs on a granular level. This gives you greater flexibility, increases your productivity and enables you to work confidently without worrying about making time-consuming errors.
The improvements are based on surveys with more than 150 enterprise customers, numerous interviews, several usability tests and two game jams. The long-term goal has been not only to implement support for nesting, but to rethink the core Prefab workflows so different team members can simultaneously edit Prefabs confidently and efficiently.
Nesting
Previously, users were forced to choose between creating large monolithic Prefabs, like buildings, or more granular ones, like pieces of furniture, but they couldn't do both.
Now with support for nested Prefabs, a large building can be made up of many smaller room Prefabs, which in turn can be made up of multiple pieces of furniture Prefabs, and so on.
This makes it easier for teams of all sizes to:
Split up Prefabs into multiple entities for greater efficiency
Reuse any content, from small to large
Work on different parts of content simultaneously
Learn more
Prefab Variants
Flexible properties increase efficiency
As a default, a Prefab Variant inherits the objects and properties of the Prefab it is a variant of, but at the same time, you have the possibility to override those properties. This is similar to the concept of inheritance in object-oriented programming.
For example, if you had multiple door Prefabs, you could choose to make some of them a different color, while allowing the rest to inherit the existing Prefab color property. Any change made to the original door Prefab will affect the variants of it as well, except those properties which have been overridden.
Prefab Mode
Avoid time-consuming mistakes
A cornerstone of the new workflows, Prefab Mode enables you to edit in isolation. While this means that you will have to approach Prefab editing in a slightly different way, you can feel secure that any errors made will not have negative consequences.