Nuking UI global scene
This commit is contained in:
@@ -18,7 +18,7 @@ func removeAndHide(node:Node3D) -> void:
|
||||
node.visible = false
|
||||
|
||||
func addAndShow(node:Node3D) -> void:
|
||||
if node:
|
||||
if node && node.get_parent() != self:
|
||||
add_child(node)
|
||||
node.visible = true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user