mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-08 01:49:43 +02:00
init with userdata
This commit is contained in:
parent
19e7b19533
commit
12c3792c06
1 changed files with 3 additions and 4 deletions
|
@ -438,13 +438,12 @@ FishTank = function(spawnPosition, spawnRotation) {
|
||||||
'reset': true
|
'reset': true
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
Script.setTimeout(function() {
|
Script.setTimeout(function() {
|
||||||
setEntityCustomData(customKey, fishTank, data);
|
setEntityCustomData(customKey, fishTank, data);
|
||||||
|
}, 1500)
|
||||||
|
Script.setTimeout(function() {
|
||||||
setEntityCustomData(resetKey, fishTank, resetData);
|
setEntityCustomData(resetKey, fishTank, resetData);
|
||||||
}, 2000)
|
}, 3000)
|
||||||
|
|
||||||
|
|
||||||
function cleanup() {
|
function cleanup() {
|
||||||
Entities.deleteEntity(fishTank);
|
Entities.deleteEntity(fishTank);
|
||||||
Entities.deleteEntity(tankBase);
|
Entities.deleteEntity(tankBase);
|
||||||
|
|
Loading…
Reference in a new issue