Created
November 17, 2019 04:15
-
-
Save Badgerdox/ccfee45fda94e867681116bc5eea982f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static async Task CreateAssetsAddToList<T>(List<AssetReference> references, List<T> completedObjs) | |
where T : Object | |
{ | |
foreach (var reference in references) | |
completedObjs.Add(await reference.InstantiateAsync().Task as T); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment