Scene.removeChild

Removes the given object as a child from this scene.

class Scene
final
void
removeChild
(
GameObject oldChild
)

Parameters

oldChild
Type: GameObject

The object to remove.

Meta