Esempio n. 1
0
 public static void AddToken(AssetEntry entry, string token)
 {
     Array.Resize <string>(ref entry.tokens, entry.tokens.Length + 1);
     entry.tokens[entry.tokens.Length - 1] = token;
 }
Esempio n. 2
0
 public static void AddEntry(AssetBridge bridge, AssetEntry entry)
 {
     Array.Resize <AssetEntry>(ref bridge.entries, bridge.entries.Length + 1);
     bridge.entries[bridge.entries.Length - 1] = entry;
 }