Skip to content

The C# Interface ISerializationListener is undocumented #10615

Open
@Lennart-Bours

Description

@Lennart-Bours

Your Godot version:

4.3

Issue description:

If you are using C# in your Godot project, you can implement ISerializationListener to execute code in OnBeforeSerialize and OnAfterDeserialize. These functions are called when building the C# solution, and perhaps also in other circumstances?

This feature can be helpful if you have to acount for serialization in your [Tool] scripts, but is completely undocumented. I only found out about its existence via this informative issue: godotengine/godot-proposals#9001

Frankly, it would be helpful if all the information in that issue was added to the documentation. The Godot API for C# section seems like a logical place.

I can attempt to write the documentation, but I'm not particularly knowledgable about the behaviour of ISerializationListener, and even less on the entire process of rebuilding the C# solution.

URL to the documentation page (if already existing):
N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions