大约有 1,546 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0071 秒)
...dow.innerHeight; var width:int = Browser.window.innerWidth; Browser.window.console.log("Console Log:浏览器高:"+ Height + " 浏览器宽:" + width); } } } ``` **方式二:** ```java package { public class JSDemo { public function JSDemo() { //初始化引擎 Laya.init(0, 0); var BrowserIn...
来源: Laya2.0_文档 发布时间: 20210715
...; vs.changeHandler = new Handler(this, this.onChange); } onChange(value) { console.log("滑块的位置:" + value); } } new UI_Slider();module laya { import Stage = Laya.Stage; import HSlider = Laya.HSlider; import VSlider = Laya.VSlider; import Handler = Laya.Handler; import WebGL = Laya.WebGL; e...
来源: Laya2.0_示例 发布时间: 20250224
...operty( { type : Laya.Scene3D } ) private scene: Laya.Scene3D; onStart() { console.log("Game start"); //加载预制体文件 Laya.loader.load("resources/Prefab.lh").then( (res)=>{ //创建预制体 let monkey: Laya.Sprite3D = res.create(); //添加预制体到场景中 this.scene.addChild( monke...
来源: Laya3.0_文档 发布时间: 20241014
...operty( { type : Laya.Scene3D } ) private scene: Laya.Scene3D; onStart() { console.log("Game start"); //加载预制体文件 Laya.loader.load("resources/Prefab.lh").then( (res)=>{ //创建预制体 let monkey: Laya.Sprite3D = res.create(); //添加预制体到场景中 this.scene.addChild( monke...
来源: Laya3.0_文档 发布时间: 20250214
...ler(this, onChange); Laya.stage.addChild(vs); } function onChange(value) { console.log("滚动条的位置: value=" + value); } })();module laya { import Stage = Laya.Stage; import HScrollBar = Laya.HScrollBar; import VScrollBar = Laya.VScrollBar; import Handler = Laya.Handler; import WebGL = Laya...
来源: Laya_示例 发布时间: 20250224
...eRender = true; camera.enableHDR = true; camera.postProcess = postProcess; console.log(postProcess); 附件 : --> 002.zip 2019-08-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 陆仁毅 赞同来自: 泛光参...
来源: Laya_社区 发布时间: 20190827
...回复 青衿 赞同来自: Laya.WebAudioSound.ctx.resume = function () { console.log('this is laya`s bug') } 2018-08-31 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 青衿 相关问题 游戏运行在chrome里面 听不见声音 播...
来源: Laya_社区 发布时间: 20180716
...pe: Laya.Loader.FONT }], Handler.create(this, () => { console.log('bitmapFont loaded'); this.onFontLoaded(); }), Handler.create(this, (progress) => { console.log('bitmapFont loading', progress); }...
来源: Laya_社区 发布时间: 20190225
...rror); this.templet.loadAni("res/spine/goblins/goblins.sk"); } onError() { console.log("parse error"); } parseComplete() { //创建第一个动画 var skeleton0: Laya.Skeleton; //从动画模板创建动画播放对象 skeleton0 = this.templet.buildArmature(0); skeleton0.pos(200, 700); //切换动...
来源: Laya2.0_文档 发布时间: 20210715
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 问题状态 最新活动: 2019-06-19 15:09 浏览: 781 关注: 1 人
来源: Laya_社区 发布时间: 20190619