NodeFlow 2

Prefabs

Edit prefab instances and prefabs, see overrides on the nodes, and how prefabs are saved.

Prefabs

Open a prefab instance in a scene like any other GameObject, or pick the prefab under Prefabs in the Open Graph list, which opens it in Prefab Mode. A prefab that's already open in Prefab Mode is listed under Prefab Mode.

Prefab instance or prefab

When the graph shows a prefab instance in a scene, a blue bar under the toolbar says Prefab instance of Crate and how many overrides the instance has. Your changes there are overrides on this instance only, as in the Inspector.

  • Open Prefab opens the prefab itself in Prefab Mode, in a new tab.
  • Apply All and Revert All do what the Inspector's Overrides menu does.

In Prefab Mode the bar says Editing the prefab Crate. Changes made there apply to every instance.

Like in the Hierarchy, prefab instances have blue names in the tabs and in the Open Graph list, and prefabs in Prefab Mode light-blue ones.

Overrides on nodes

Nodes that differ from the prefab get a blue line on their left. Events or instructions that only this instance has also get a blue +. Right-click one of them to apply it to the prefab or revert it.

Saving prefabs

When NodeFlow 2 opened a prefab in Prefab Mode itself, it saves your changes instead of Unity asking:

  • when it leaves Prefab Mode, for example when you close the tab,
  • when you open another prefab,
  • and when the window is closed.

Each of these is a switch under Prefab Mode in the settings. Turn one off to get Unity's usual "save?" question there. Prefab Mode you opened yourself is never saved by NodeFlow 2.

NodeFlow 2 only checks which prefabs have Events when you open the Open Graph list, and after that only the prefabs that changed, so saving prefabs isn't slowed down.