Skip to content

Instantly share code, notes, and snippets.

@openroomxyz
Last active April 20, 2020 09:32
Show Gist options
  • Select an option

  • Save openroomxyz/5663d96c9dd4acf388789ddb195c4a74 to your computer and use it in GitHub Desktop.

Select an option

Save openroomxyz/5663d96c9dd4acf388789ddb195c4a74 to your computer and use it in GitHub Desktop.
Unity : How to unload, free resources, memory?
UnityEngine.Resources.UnloadUnusedAssets();
//Resources.UnloadAsset();
//Destroy does nothing to help freeing memory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment