0
0
mirror of https://github.com/Doodle3D/Doodle3D-API synced 2025-01-03 10:03:48 +01:00

update example

This commit is contained in:
casperlamboo 2016-04-21 15:48:17 +02:00
parent 48693feaab
commit 2186fe2428

View File

@ -4,7 +4,7 @@ const doodle3DManager = new Doodle3DManager();
doodle3DManager.setAutoUpdate(true, 1000);
doodle3DManager.addEventListener('boxappeared', ({ box }) => {
box.setAutoUpdate(true);
box.setAutoUpdate(true, 1000);
box.addEventListener('connect', () => {
console.log('connect to box', box);