25 lines
556 B
JavaScript
25 lines
556 B
JavaScript
(function(){
|
|
|
|
var APP_URL ="https://hifi-content.s3.amazonaws.com/luis/domainUtils/SoccerDomain/cameraRig.js";
|
|
|
|
var AddCameraRigZone = function () {
|
|
|
|
};
|
|
|
|
AddCameraRigZone.prototype = {
|
|
|
|
enterEntity: function () {
|
|
ScriptDiscoveryService.loadScript(APP_URL);
|
|
},
|
|
|
|
leaveEntity: function () {
|
|
ScriptDiscoveryService.stopScript(APP_URL);
|
|
},
|
|
|
|
unload: function () {
|
|
ScriptDiscoveryService.stopScript(APP_URL);
|
|
}
|
|
};
|
|
|
|
return new AddCameraRigZone ();
|
|
});
|