InstancePlaceholderReplaceByInstance Method |
Replaces this placeholder by the scene handed as an argument, or the original scene if no argument is given. As for all resources, the scene is loaded only if it's not loaded already. By manually loading the scene beforehand, delays caused by this function can be avoided.
Namespace: Godot
public void ReplaceByInstance( PackedScene customScene = null )
[Missing <param name="customScene"/> documentation for "M:Godot.InstancePlaceholder.ReplaceByInstance(Godot.PackedScene)"]