godot/modules/mono/glue/GodotSharp/GodotSharpEditor/Compat.cs

22 lines
857 B
C#

// This file contains methods that existed in a previous version of Godot in ClassDB but were removed
// or their method signature has changed so they are no longer generated by bindings_generator.
// These methods are provided to avoid breaking binary compatibility.
using System;
using System.ComponentModel;
namespace Godot;
// TODO: This is currently disabled because of https://github.com/dotnet/roslyn/issues/52904
#pragma warning disable IDE0040 // Add accessibility modifiers.
partial class EditorUndoRedoManager
{
/// <inheritdoc cref="CreateAction(string, UndoRedo.MergeMode, GodotObject, bool)"/>
[EditorBrowsable(EditorBrowsableState.Never)]
public void CreateAction(string name, UndoRedo.MergeMode mergeMode, GodotObject customContext)
{
CreateAction(name, mergeMode, customContext, backwardUndoOps: false);
}
}