Exemplo n.º 1
0
 /// <summary>
 /// Returns a list of all owned files of this AssetData, it also checks its AssetPtrs.
 /// </summary>
 /// <param name="action">Returns a list of all owned files.</param>
 public virtual List <string> OwnedFiles(SerializedAssets assets)
 {
     // Default to return no owned files
     return(new List <string>());
 }
Exemplo n.º 2
0
 public T FollowToScript <T>(SerializedAssets assets) where T : BehaviorData
 {
     return((T)Follow <MonoBehaviorAssetData>(assets).data);
 }
Exemplo n.º 3
0
 public AssetData Follow(SerializedAssets assets)
 {
     return(assets.objects.FindLast(ao => ao.pathID == pathID).data);
 }
Exemplo n.º 4
0
 public T Follow <T>(SerializedAssets assets) where T : AssetData
 {
     return((T)Follow(assets));
 }
Exemplo n.º 5
0
 public Transaction(SerializedAssets assets)
 {
     lastPathID = (ulong)assets.objects.Count;
     toAdd      = new List <AssetData>();
 }