Skip to content

Latest commit

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date

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

6 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages