Created
November 18, 2019 05:42
-
-
Save Badgerdox/2f57d20f6a0b3473c75e58e42ded3ae1 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
private void ClearAsset(GameObject go) | |
{ | |
Addressables.Release(go); | |
} | |
private void ClearAssets(List<GameObject> gos) | |
{ | |
foreach (var go in gos) | |
{ | |
Debug.Log("Released: " + go.name); | |
Addressables.Release(go); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment