Created
November 17, 2019 03:41
-
-
Save Badgerdox/350f98d68a5cc251009d568e406909ca 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 class AssetRefLoader | |
{ | |
public static async Task CreateAssetAddToList<T>(AssetReference reference, List<T> completedObjs) | |
where T : Object | |
{ | |
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