Hallo,
I have an idea to have some equipment in the tour to switch it off if client do not pay for it.
Is it possible?
Thanks for answer
Milos
Modul to switch of the tour
My proposed solution would be:
at first, read a url parameter to a javascript var.
second, pass the javascript var to a skin variable in the pano2vr engine.
third, if the skin variable equals a "secret" value, you can set the visibility of selected skin elements.
fourth, the secret value can be handled to your customer AFTER he has payed for.
You need the javascript api *1) pano.setVariableValue(varName:String, varValue:Any) to pass a javascript var to the skin variable.
greetings from germany
*1) https://ggnome.com/doc/javascript-api/
at first, read a url parameter to a javascript var.
second, pass the javascript var to a skin variable in the pano2vr engine.
third, if the skin variable equals a "secret" value, you can set the visibility of selected skin elements.
fourth, the secret value can be handled to your customer AFTER he has payed for.
You need the javascript api *1) pano.setVariableValue(varName:String, varValue:Any) to pass a javascript var to the skin variable.
greetings from germany
*1) https://ggnome.com/doc/javascript-api/
---
Christian Stüben
Christian Stüben