Version: 2018.1
public void OnBeforeSerialize ();

Description

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

See ISerializationCallbackReceiver for more information.