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

Method InvokeOnUpdate

Source/Engine/Scripting/Scripting.cpp:338–343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336}
337
338void Scripting::InvokeOnUpdate(const Function<void()>& action)
339{
340 _objectsLocker.Lock();
341 UpdateActions.Add(action);
342 _objectsLocker.Unlock();
343}
344
345bool Scripting::LoadBinaryModules(const String& path, const String& projectFolderPath)
346{

Callers 11

OnInitMethod · 0.45
TryUseCollisionDataMethod · 0.45
OnWindowGotFocusMethod · 0.45
ImportAssetsProgressMethod · 0.45
OnImportFileBeginMethod · 0.45
LoadInnerMethod · 0.45
OnEndContainsFocusMethod · 0.45
OnRebuildSDFMethod · 0.45
SpawnMethod · 0.45

Calls 3

LockMethod · 0.80
UnlockMethod · 0.80
AddMethod · 0.45

Tested by

no test coverage detected