Exemplo n.º 1
0
        protected override void OnDisable()
        {
            base.OnDisable();

            // Unregister serialization callback
            RSManager.UnRegisterEventListener(Save2PrefsSerializationID, this as IRuntimeSerializationEventListener);
            RSManager.UnRegisterEventListener(Save2FileSerializationID, this as IRuntimeSerializationEventListener);
        }