edited June 13 in ORK Support
Hey GiL,

so currently we have the option to 'Unload Resources' from the device memory. Does this work only for assets, that are loaded as 'Resource' category in ORK Project?

E.g. I have a scene with already set up terrain prefabs, that have some texture and so on. Currently when I start the scene on Android device, I guess, it auomatically saves their data into the memory forever. So in order to prevent this, I'll have to modify Battle Start Event to Spawn all terrain prefabs as 'Resource'?

If yes, then do I have to somehow destroy them in the victory event or something else?
Post edited by Machal on
  • The option will use Resources.UnloadUnusedAssets to, well, unload all unused resources. This also includes resources not loaded via ORK - but in any case it'll only affect actual resources (i.e. stuff stored in a Resources folder).
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • edited June 14
    Ah, so the Unity/Resources folder. I've put the prefab there and set it in the Battle Start event in Spawn Prefab as 'Resource' category.
    I hope it will work this way :D
    Post edited by Machal on
  • Well, any Resources folder within your project's Assets folder :)
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Sign In or Register to comment.