MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / OnResolve

Function OnResolve

Source/Engine/Scripting/SoftObjectReference.h:85–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83 }
84
85 void OnResolve(MClass* type)
86 {
87 ASSERT(!_object);
88 _object = FindObject(_id, type);
89 if (_object)
90 _object->Deleted.Bind<SoftObjectReferenceBase, &SoftObjectReferenceBase::OnDeleted>(this);
91 }
92
93 void OnDeleted(ScriptingObject* obj)
94 {

Callers

nothing calls this directly

Calls 1

FindObjectFunction · 0.85

Tested by

no test coverage detected