0b94203a79
This will be used for communicating between the Godot editor and external IDEs/editors, for things like opening files, triggering hot-reload and running the game with a debugger attached.
13 lines
388 B
C#
13 lines
388 B
C#
using System.Runtime.CompilerServices;
|
|
|
|
namespace Godot
|
|
{
|
|
public static class Dispatcher
|
|
{
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern GodotTaskScheduler godot_icall_DefaultGodotTaskScheduler();
|
|
|
|
public static GodotSynchronizationContext SynchronizationContext =>
|
|
godot_icall_DefaultGodotTaskScheduler().Context;
|
|
}
|
|
}
|