Exemplo n.º 1
0
 public void SetDatabaseEntry(PrefabEntity entity)
 {
     _prefabPath    = entity.ResourcePath;
     _assetType     = AssetType.Prefab;
     _origin        = entity.ResourcePath;
     _componentDiff = new SerializedComponentDifferences();
 }
Exemplo n.º 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));
 }
Exemplo n.º 3
0
 public SerializedMetaData()
 {
     _componentDiff = new SerializedComponentDifferences();
 }