- Home /
Question by
wuannetraam · Aug 05, 2021 at 12:25 PM ·
javascriptwebgl
Javascript communication 2 ways. Simple examples / tutorials?
I am not a skilled programmer. I know how to code in Unity (the basics). I have searched youtube and came a cross a lot of tutorials which are outdated. They don't work anymore on the Unity 2020+ versions.
What I am looking for is a very simple example or tutorial on how to do this.
Click on an html button added to index.html of your Unity build and execute a function you have added to a c# script in Unity.
Click on a UI button created in Unity and execute a javascript function like change background color or the index.html page.
I don't think that this is really hard to do but I am looking for days now on youtube and google but am stuck.
Hope someone can help me out.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613041239im_/https://answers.unity.com/themes/thub/images/avi.jpg)