WebGL Reads Device Max Images - 2023

$14
Publisher KatidaAdamMan Publisher
File size 3.67MB
Number of files 10
Latest version 1
Latest release date 2024-01-26 11:26:15
First release date 2024-01-26 11:26:15
Supported Unity versions 2018.4.2 or higher

What does this tool do?

1. In the web including Chrome, firefox, apple browser, android browser and other devices, whether it is a mobile phone, laptop, desktop, or even ChromeBook. You can directly access the local picture, text, video, audio, and even any suffix format files through Webgl on the web side.

2. Image parsing supports 4K, that is, 4096x4096 maximum size.


Demohttps://www.adamman233.top/WebGL_Reads_Device_Max_Images/index.html


Note:

This plug-in must be on the server to function properly.

So, you need to switch the build platform to WebGL and then build. And put the Building files on your remote server, using the native directly to open the html will not work.


Download and get the plugin, then import it into Unity. You will get the WebGL Reads Device Max Images folder.


Put the WebGLTemplates folder in the Assets root directory. Then select the WebGL template in the Project Settings.


Put your built file on your server, and then access the html file on your server via a web page.


Interfaces provided:

  • LoadImage(): reads the image of the machine. Support for many formats
  • LoadVideo() : reads video files on the host. Support for many formats
  • LoadOtherFils () : Read a file with any other suffix, and you'll get the file name, path, and byts array.
  • LoadSound () : Reads the audio file. Support.mp3
  • LoadTxt(): reads a text file.
  • SaveText () : Includes strings inside the unity runtime to a local file.
  • SaveImage () : Save images inside the unity runtime to the machine. Remember that read and write permissions are required.

NO AI

Top Publisher Assets