Compat.cs 857 B

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