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

Method onAdd

Engine/source/T3D/missionMarker.cpp:91–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91bool MissionMarker::onAdd()
92{
93 if(!Parent::onAdd() || !mDataBlock)
94 return(false);
95
96 if(gEditingMission)
97 {
98 addToScene();
99 mAddedToScene = true;
100 }
101
102 return(true);
103}
104
105void MissionMarker::onRemove()
106{

Callers

nothing calls this directly

Calls 3

spawnObjectFunction · 0.85
executefFunction · 0.85
addObjectMethod · 0.45

Tested by

no test coverage detected