Prefab

An asset by KoBeWi
The page banner background of a mountain and forest
Prefab hero image

Quick Information

0 ratings
Prefab icon image
KoBeWi
Prefab

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.

Supported Engine Version
3.4
Version String
1.0.1
License Version
MIT
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL

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.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Prefab icon image
KoBeWi
Prefab

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.

Supported Engine Version
3.4
Version String
1.0.1
License Version
MIT
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers