Add InvokeOnUpdate to C++ scripting api

This commit is contained in:
Wojtek Figat
2025-08-12 23:35:12 +02:00
parent 303087c4c4
commit 6fd4ef735e
2 changed files with 34 additions and 0 deletions

View File

@@ -230,6 +230,11 @@ public:
static void ProcessBuildInfoPath(String& path, const String& projectFolderPath);
/// <summary>
/// Calls the given action on the next scripting update.
/// </summary>
/// <param name="action">The action to invoke.</param>
static void InvokeOnUpdate(const Function<void()>& action);
private:
static bool LoadBinaryModules(const String& path, const String& projectFolderPath);