Skip to main content
Became Hot Network Question
added 37 characters in body
Source Link

I am making a addon for my friends, and I am trying to make a custom node. It works, but I have a problem, the children of the custom node is visible in the scene dock.

Nodes Screenshot

The Text node has children, but they aren't visible in the scene dock. I want the same thing with the Inventory node. (I added the Text, GridContainer,and CenterContainer noesnodes from another scene through code)

How would I go about this. (Preferably a solutions that uses GDScript)

I am making a addon for my friends, and I am trying to make a custom node. It works, but I have a problem, the children of the custom node is visible.

Nodes Screenshot

The Text node has children, but they aren't visible. I want the same thing with the Inventory node. (I added the Text, GridContainer,and CenterContainer noes from another scene through code)

How would I go about this. (Preferably a solutions that uses GDScript)

I am making a addon for my friends, and I am trying to make a custom node. It works, but I have a problem, the children of the custom node is visible in the scene dock.

Nodes Screenshot

The Text node has children, but they aren't visible in the scene dock. I want the same thing with the Inventory node. (I added the Text, GridContainer,and CenterContainer nodes from another scene through code)

How would I go about this. (Preferably a solutions that uses GDScript)

Source Link

Hide Children of Node

I am making a addon for my friends, and I am trying to make a custom node. It works, but I have a problem, the children of the custom node is visible.

Nodes Screenshot

The Text node has children, but they aren't visible. I want the same thing with the Inventory node. (I added the Text, GridContainer,and CenterContainer noes from another scene through code)

How would I go about this. (Preferably a solutions that uses GDScript)