Hi,
I’ve got an issue with publishing my PlayCanvas apps on a website. These website will contain ui elements to control the PlayCanvas apps.
I want to publish the PC app (canvas) in a specific div. How to do that?
My website must contain muliple (two) PlayCanvas application (yes, this is necessary). Like for the first one, there is a div container where it should be loaded.
I need access to both application to fire events to them like in the example below or in any other way:
btn_doSomething.addEventListener('click', function() {
app1.fire("DoSomething", "Value");
app2.fire("DoSomethingElse", "Value");
});
Thanks.
Sandeep openshift developer