diff --git a/ot5qabk55a.js b/ot5qabk55a.js new file mode 100644 index 0000000..5e872b3 --- /dev/null +++ b/ot5qabk55a.js @@ -0,0 +1,13 @@ +if (GameLib.Utils.UndefinedOrNull(this.camera)) { + this.camera = GameLib.EntityManager.Instance.findComponentById('yv62w8sx9r'); +} + +if (data.event.deltaY < 0 && this.camera.fov > 30) { + this.camera.fov -= 30; + this.camera.updateInstance(); +} else if (data.event.deltaY > 0 && this.camera.fov < 90) { + this.camera.fov += 30; + this.camera.updateInstance(); +} + +//@ sourceURL=mouseWheel.js \ No newline at end of file