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

Method OnLoaded

Source/Engine/Scripting/ManagedCLR/MCore.cpp:199–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197}
198
199void MAssembly::OnLoaded(Stopwatch& stopwatch)
200{
201 // Register in domain
202 _domain->_assemblies[_name] = this;
203
204 _isLoaded = true;
205 _isLoading = false;
206
207 stopwatch.Stop();
208 LOG(Info, "Assembly {0} loaded in {1}ms", String(_name), stopwatch.GetMilliseconds());
209
210 // Pre-cache classes
211 GetClasses();
212
213 Loaded(this);
214}
215
216void MAssembly::OnLoadFailed()
217{

Callers

nothing calls this directly

Calls 2

StringFunction · 0.50
StopMethod · 0.45

Tested by

no test coverage detected