Question by
$$anonymous$$ · Dec 05, 2015 at 04:03 PM ·
c#javascriptunity5unityeditorwebgl
EditorUtility.OpenFilePanel for UnityWebGL (Runtime)
I want the user to select a image from computer in Unity WebGL game but I am not able to get any library or code for this thing. I want exact functionality of EditorUtility.OpenFilePanel for UnityWebGL (Runtime).
string path = EditorUtility.OpenFilePanel("Overwrite with png","","png");
Is there any way to get this open dialog in Unity WebGL build? Or Is there any way I can do it in java script? Like I get image in java-script from user and pass it to my C# code.
Comment