MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / onComponentAdd

Method onComponentAdd

Engine/source/T3D/components/component.cpp:169–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169void Component::onComponentAdd()
170{
171 if (isServerObject())
172 {
173 if (isMethod("onAdd"))
174 Con::executef(this, "onAdd");
175 }
176
177 mEnabled = true;
178}
179
180void Component::onComponentRemove()
181{

Callers 2

onPostAddMethod · 0.45
addComponentMethod · 0.45

Calls 1

executefFunction · 0.85

Tested by

no test coverage detected