Skip to content

davidkvc/AdvancedWebGLBrowserInteraction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AdvancedWebGLBrowserInteraction

This example project demonstrates advanced use of jslib in unity when interacting with browser through emscripten layer

You can learn basics of Unity <--> browser interaction here https://docs.unity3d.com/Manual/webgl-interactingwithbrowserscripting.html

This repository serves as an example how to set up more advanced communication

  • Passing callback from c# to javascript so that we can call c# method directly instead of using SendMessage
  • Using methods with more than one parameter or methods with struct parameter
  • Extracting texture data from WebGL context and displaying them in HTML image element

Helpful links

About

Example project showing advanced usage of jslib in Unity3D

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published