You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00:00
Huge Debugger/EditorDebugger refactor.
This commit is contained in:
@@ -172,7 +172,7 @@ namespace GodotTools
|
||||
return;
|
||||
|
||||
// Notify running game for hot-reload
|
||||
Internal.ScriptEditorDebuggerReloadScripts();
|
||||
Internal.EditorDebuggerNodeReloadScripts();
|
||||
|
||||
// Hot-reload in the editor
|
||||
GodotSharpEditor.Instance.GetNode<HotReloadAssemblyWatcher>("HotReloadAssemblyWatcher").RestartTimer();
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace GodotTools.Internals
|
||||
|
||||
public static void ReloadAssemblies(bool softReload) => internal_ReloadAssemblies(softReload);
|
||||
|
||||
public static void ScriptEditorDebuggerReloadScripts() => internal_ScriptEditorDebuggerReloadScripts();
|
||||
public static void EditorDebuggerNodeReloadScripts() => internal_EditorDebuggerNodeReloadScripts();
|
||||
|
||||
public static bool ScriptEditorEdit(Resource resource, int line, int col, bool grabFocus = true) =>
|
||||
internal_ScriptEditorEdit(resource, line, col, grabFocus);
|
||||
@@ -88,7 +88,7 @@ namespace GodotTools.Internals
|
||||
private static extern void internal_ReloadAssemblies(bool softReload);
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
private static extern void internal_ScriptEditorDebuggerReloadScripts();
|
||||
private static extern void internal_EditorDebuggerNodeReloadScripts();
|
||||
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
private static extern bool internal_ScriptEditorEdit(Resource resource, int line, int col, bool grabFocus);
|
||||
|
||||
Reference in New Issue
Block a user