Method OnBeforeSerialize OnBeforeSerialize() Called before this object is serialized by the Editor. Declaration public void OnBeforeSerialize() Implements ISerializationCallbackReceiver.OnBeforeSerialize()