Esempio n. 1
0
        private static object Read(UnsafeReader reader)
        {
            var count  = reader.ReadInt32();
            var result = new AssetScriptUsagesDataElement(count);

            for (int i = 0; i < count; i++)
            {
                result.myAssetUsages.Add(AssetScriptUsage.ReadFrom(reader));
            }

            return(result);
        }
Esempio n. 2
0
 public bool Equals(AssetScriptUsage other)
 {
     return(Location.Equals(other.Location) && UsageTarget.Equals(other.UsageTarget));
 }