Edit of asset "Prefab" Accepted

Old/Current New/Edit
Title Prefab Prefab
Description Simple wrapper for PackedScene that allows you to quickly pack part of a scene, so you can have e.g. "internal scenes" that you don't need to save to separate file. Usage:

var prefab = Prefab.create($AnyNode)

$AnyNode will be freed and you can then instance the prefab to make copies of that node. Prefab automatically sets the owner of the children, so they are packed too. You can change how node is freed by passing Prefab.FREE_MODE_DEFERRED or Prefab.FREE_MODE_NONE as the second argument of create().

You can also save the prefab to a file, but it's not the intended usage. See repo README for more info.
Simple wrapper for PackedScene that allows you to quickly pack part of a scene, so you can have e.g. "internal scenes" that you don't need to save to separate file. Usage:

var prefab = Prefab.create($AnyNode)

$AnyNode will be freed (or queue_freed if you pass true as second argument) and you can then instance the prefab to make copies of that node. Prefab automatically sets the owner of the children, so they are packed too.

You can also save the prefab to a file, but it's not the intended usage. See repo README for more info.
Category Scripts Scripts
License MIT MIT
Repository Provider GitHub GitHub
Repository Url https://github.com/KoBeWi/Godot-Prefab https://github.com/KoBeWi/Godot-Prefab
Issues Url https://github.com/KoBeWi/Godot-Prefab/issues https://github.com/KoBeWi/Godot-Prefab/issues
Godot version Godot 4.0 Godot 4.0
Version String 1.0.2 1.0.1a
Download Commit 7a2d8ec15a7eed13660147cb40c4ac663f07e544 dce49aaa78ba5d711c2b2c302158ffb2f40da8df
Download Url (Computed) https://github.com/KoBeWi/Godot-Prefab/archive/7a2d8ec15a7eed13660147cb40c4ac663f07e544.zip https://github.com/KoBeWi/Godot-Prefab/archive/dce49aaa78ba5d711c2b2c302158ffb2f40da8df.zip
Icon Url https://github.com/KoBeWi/Godot-Prefab/blob/master/Media/Icon.png?raw=1
https://github.com/KoBeWi/Godot-Prefab/blob/master/Media/Icon.png?raw=1