Version: 2019.1
public void OnBeforeSerialize ();

Description

Implement this method to receive a callback before Unity serializes your object.

See ISerializationCallbackReceiver for more information.