public void OnAfterDeserialize()
 {
     NativeSerializationTools.FixSerializationForString(ref this._mediaType);
     NativeSerializationTools.FixSerializationForString(ref this._mediaMetadataJson);
     NativeSerializationTools.FixSerializationForObject(ref this._image, this._hasImage);
     NativeSerializationTools.FixSerializationForObject(ref this._movie, this._hasMovie);
 }
        public void OnAfterDeserialize()
        {
            NativeSerializationTools.FixSerializationForString(ref this._originalImageFilePath);
            NativeSerializationTools.FixSerializationForString(ref this._editedImageFilePath);
            NativeSerializationTools.FixSerializationForString(ref this._imageFilePath);
            NativeSerializationTools.FixSerializationForObject(ref this._originalImageError, this._hasOriginalImageError);
            NativeSerializationTools.FixSerializationForObject(ref this._editedImageError, this._hasEditedImageError);
            NativeSerializationTools.FixSerializationForObject(ref this._imageFileError, this._hasImageFileError);

            if (this._hasCropRect)
            {
                this.CropRect = new Rect(
                    this._cropRect._originX,
                    this._cropRect._originY,
                    this._cropRect._sizeWidth,
                    this._cropRect._sizeHeight);
            }
            else
            {
                this.CropRect = Rect.zero;
            }
        }
Exemple #3
0
 public void OnAfterDeserialize()
 {
     NativeSerializationTools.FixSerializationForString(ref this._path);
 }
Exemple #4
0
 public void OnAfterDeserialize()
 {
     NativeSerializationTools.FixSerializationForString(ref this._domain);
     NativeSerializationTools.FixSerializationForString(ref this._localizedDescription);
 }
 public void OnAfterDeserialize()
 {
     NativeSerializationTools.FixSerializationForString(ref this._movieFilePath);
     NativeSerializationTools.FixSerializationForObject(ref this._movieFileError, this._hasMovieFileError);
 }