Save and load a byte Array in Unity 3D




This example demonstrates how to save and load a "byte array" with more than 200,000 elements using "PlayerPrefs" (Unity 3D) relatively quickly.
     When you save or load a "byte array" very large, the game may freeze a bit and then back to normal.
     In this example we are saving and loading an image. The greater the height and width of the image, the greater will be the "byte array" and the greater will be the game freezing time.
     You can modify this example to save other types of array (string, int, float, etc ...).


    License:
     CC0 1.0 Universal (CC0 1.0)
     Public Domain Dedication
     https://creativecommons.org/publicdomain/zero/1.0/


Comments on english


Comments on pt-br(Brazilian Portuguese)

Comments

Popular posts from this blog