Interface IFormatVersion
Serialized types that implement IFormatVersion will have the opportunity to check if serialized data is the correct format and throw an exception if the serialized version does not match the expected version
Namespace: Unity.RuntimeSceneSerialization
Syntax
public interface IFormatVersion
Methods
CheckFormatVersion()
Called during deserialization. Implementors may choose to throw an exception if the format versions do not match.
Declaration
void CheckFormatVersion()