Example #1
0
 public void SetDatabaseEntry(PrefabEntity entity)
 {
     _prefabPath    = entity.ResourcePath;
     _assetType     = AssetType.Prefab;
     _origin        = entity.ResourcePath;
     _componentDiff = new SerializedComponentDifferences();
 }
Example #2
0
 public SerializedMetaData(SerializationInfo info, StreamingContext context)
 {
     _prefabPath      = info.GetValue(nameof(_prefabPath), _prefabPath);
     _serializationId = (int)info.GetValue("SerializationId", typeof(int));
     _assetType       = (AssetType)info.GetValue("AssetType", typeof(AssetType));
     _componentDiff   = (SerializedComponentDifferences)info.GetValue("ComponentDiff", typeof(SerializedComponentDifferences));
 }
Example #3
0
 public SerializedMetaData()
 {
     _componentDiff = new SerializedComponentDifferences();
 }