Example #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>());
 }
Example #2
0
 public T FollowToScript <T>(SerializedAssets assets) where T : BehaviorData
 {
     return((T)Follow <MonoBehaviorAssetData>(assets).data);
 }
Example #3
0
 public AssetData Follow(SerializedAssets assets)
 {
     return(assets.objects.FindLast(ao => ao.pathID == pathID).data);
 }
Example #4
0
 public T Follow <T>(SerializedAssets assets) where T : AssetData
 {
     return((T)Follow(assets));
 }
 public Transaction(SerializedAssets assets)
 {
     lastPathID = (ulong)assets.objects.Count;
     toAdd      = new List <AssetData>();
 }