Quantcast
Channel: Answers by "gfoot"
Viewing all articles
Browse latest Browse all 95

Answer by gfoot

$
0
0
The simplest option for WebGL is to use Javascript itself, executing within the browser. You can load and run scripts dynamically by asking the browser to evaluate them, and with an appropriate jslib you can call arbitrary Javascript functions and - with care - the Javascript can also call your compiled C# methods (e.g. so you can provide entry points for the scripts to interact with your game engine). I am interested in developing a plugin for this, so if you want to talk about your needs privately then please feel free to message me! However this would only work in WebGL builds where we can lean on the browser to execute the scirpts. For the editor and other platforms it would require a dedicate Javascript interpreter - I think there are some already on the asset store but compatibility might need some care.

Viewing all articles
Browse latest Browse all 95

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>