MCPcopy Create free account
hub / github.com/axmolengine/axmol / removeComponent

Method removeComponent

core/2d/Node.cpp:1989–1995  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1987}
1988
1989bool Node::removeComponent(std::string_view name)
1990{
1991 if (_componentContainer)
1992 return _componentContainer->remove(name);
1993
1994 return false;
1995}
1996
1997bool Node::removeComponent(Component* component)
1998{

Callers 5

changeBodyCallbackMethod · 0.80
onEnterMethod · 0.80

Calls 1

removeMethod · 0.45

Tested by 2

changeBodyCallbackMethod · 0.64
onEnterMethod · 0.64