Interface ISerializationListener
- Namespace
- Godot
- Assembly
- GodotSharp.dll
Allows a GodotObject to react to the serialization/deserialization that occurs when Godot reloads assemblies.
public interface ISerializationListener
Methods
OnAfterDeserialize()
Executed after deserializing this instance's state after reloading assemblies. Restore any state that has been lost.
void OnAfterDeserialize()
OnBeforeSerialize()
Executed before serializing this instance's state when reloading assemblies. Clear any data that should not be serialized.
void OnBeforeSerialize()