summaryrefslogtreecommitdiff
path: root/scene/main/instance_placeholder.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/main/instance_placeholder.h')
-rw-r--r--scene/main/instance_placeholder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/main/instance_placeholder.h b/scene/main/instance_placeholder.h
index 9b2f1e1168..2158257c93 100644
--- a/scene/main/instance_placeholder.h
+++ b/scene/main/instance_placeholder.h
@@ -27,6 +27,7 @@
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
+
#ifndef INSTANCE_PLACEHOLDER_H
#define INSTANCE_PLACEHOLDER_H
@@ -59,6 +60,7 @@ public:
Dictionary get_stored_values(bool p_with_order = false);
+ Node *create_instance(bool p_replace = false, const Ref<PackedScene> &p_custom_scene = Ref<PackedScene>());
void replace_by_instance(const Ref<PackedScene> &p_custom_scene = Ref<PackedScene>());
InstancePlaceholder();