MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / removeObject

Method removeObject

Engine/source/gui/core/guiControl.cpp:1914–1923  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1912//-----------------------------------------------------------------------------
1913
1914void GuiControl::removeObject(SimObject *object)
1915{
1916 GuiControl* ctrl = static_cast< GuiControl* >( object );
1917 if( mAwake && ctrl->isAwake() )
1918 ctrl->sleep();
1919
1920 onChildRemoved( ctrl );
1921
1922 Parent::removeObject(object);
1923}
1924
1925//-----------------------------------------------------------------------------
1926

Callers 2

popBubbleMethod · 0.45
closeMethod · 0.45

Calls 1

sleepMethod · 0.45

Tested by

no test coverage detected