mirror of
https://github.com/Doodle3D/Doodle3D-API
synced 2025-01-03 10:03:48 +01:00
update example
This commit is contained in:
parent
48693feaab
commit
2186fe2428
@ -4,7 +4,7 @@ const doodle3DManager = new Doodle3DManager();
|
|||||||
doodle3DManager.setAutoUpdate(true, 1000);
|
doodle3DManager.setAutoUpdate(true, 1000);
|
||||||
|
|
||||||
doodle3DManager.addEventListener('boxappeared', ({ box }) => {
|
doodle3DManager.addEventListener('boxappeared', ({ box }) => {
|
||||||
box.setAutoUpdate(true);
|
box.setAutoUpdate(true, 1000);
|
||||||
|
|
||||||
box.addEventListener('connect', () => {
|
box.addEventListener('connect', () => {
|
||||||
console.log('connect to box', box);
|
console.log('connect to box', box);
|
||||||
|
Loading…
Reference in New Issue
Block a user