Add C# compat members for 4.2 changes #82740
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Since we're entering feature freeze and it's unlikely we will break compatibility anymore before the release, I think it's now a good time to look at all the breaking changes we made from 4.1 to 4.2.
This PR adds back C# members that were removed and therefore no longer generated, in order to prevent breaking compatibility. Since we don't have a system to add compatibility properties or signals, these still have to be added manually to C#.
Not every breaking change can be avoided, I have compiled a list like I did for 4.1 so we can get started on the Upgrading from Godot 4.1 to Godot 4.2 article: