Update: CC - SpoonLib - Mouse Wheel (opxis1pjmo.js) 181 bytes modified
parent
48152c7ce2
commit
d4f07a906a
|
@ -6,4 +6,11 @@ if (!this.initialized) {
|
||||||
this.initialized = true;
|
this.initialized = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
//@ sourceURL=CustomCodeSpoonLibKeyUp.js
|
var mesh = GameLib.EntityManager.Instance.findComponentById('xtnu5j78bq');
|
||||||
|
|
||||||
|
mesh.rotation.x += data.event.deltaY * 0.01;
|
||||||
|
mesh.updateInstance('rotation');
|
||||||
|
|
||||||
|
console.log(data);
|
||||||
|
|
||||||
|
//@ sourceURL=CustomCodeSpoonLibMouseScroll.js
|
Loading…
Reference in New Issue