A series covering level generation, editing, loading and saving using image files. This video, part 2, uses the framework from the last video and expands it by showing you how to read the image files directly from disc, rather than from asset (Texture2D) files in the project.
The ReadImage.cs Script @ 1:57
Application.persistentDataPath @ 2:49
Setting our Directory paths + System.IO @ 7:12
Reading in a single PNG file @ 16:30
Reading in multiple PNG files @ 22:33
Big shout out and thanks to my Patreon supporters!
-----------------------------------------------------------------------------------------
Come join me on Discord: https://discord.gg/DGBXCw6
And I now have a Patreon page! - https://www.patreon.com/c00pala
Check our my assets on the Unity Asset Store:
https://assetstore.unity.com/publishers/30020
My projects on Unity Connect:
https://connect.unity.com/u/59267d180909150022726e85
GitHub: https://github.com/c00pala/
Or Itch.io: https://itch.io/profile/c00pala
Download
0 formats
No download links available.
Generate level from image file - Pt 2: Reading Images from Disc - Unity Tutorial | NatokHD