r3-custom-code/194yv3pctj.js

19 lines
364 B
JavaScript
Raw Normal View History

if (!this.entityLoaded) {
return;
}
if (!this.initialized) {
this.imageSpoon = this.entityLoaded.imageSpoon;
this.imageEarth = this.entityLoaded.imageEarth;
this.initialized = true;
console.log('key up initialized');
}
if (data.code === 'KeyL') {
var heightData = this.imageSpoon.getHeightData();
console.log('got data');
}
//@ sourceURL=ccKeyUp.js