MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / ~GameObject

Method ~GameObject

src/Core/Script/GameObject.cpp:120–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118 }
119
120 GameObject::~GameObject()
121 {
122 Debug::Log->debug("<GameObject> Deleting GameObject '{0}' ({1})", m_id, m_type);
123 if (m_hasScriptEngine)
124 {
125 m_environment = sol::lua_nil;
126 t_local.reset();
127 m_triggers.removeNamespace(m_privateKey);
128 }
129 }
130
131 void GameObject::sendInitArgFromLua(
132 const std::string& argName, sol::object value) const

Callers

nothing calls this directly

Calls 3

debugMethod · 0.80
removeNamespaceMethod · 0.80
resetMethod · 0.45

Tested by

no test coverage detected