大约有 2,741 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0051 秒)
Laya_社区(1926) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
...选项-》用户设置,搜索typescript,会发现 "typescript.tsdk": null,这一条 在右面选中 用户设置,在下面添加这么一行: "typescript.tsdk":"/usr/local/lib/node_modules/typescript/lib" /usr/local/lib/node_modules/typescript这个路径是你安装typescript的路径...
来源: Laya_社区 发布时间: 20170329
...Laya.timer.frameLoop(1, this, animate); } private function animate(e:Event=null):void { sp1.rotation += 2; sp2.rotation += 2; } } }
来源: Laya2.0_示例 发布时间: 20251223
...../res/dt.json", new Rectangle(0, 0, Laya.stage.width, Laya.stage.height), null); 调用后报错TypeError: Cannot read property 'split' of undefined at TiledMap.__proto.mergePath (file:///C:/Users/Administrator/Documents/myLaya/Hello/bin/libs/laya.tiledmap.js:257:31) at TiledMap.__pr...
来源: Laya_社区 发布时间: 20181026
...用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 问题状态 最新活动: 2018-08-17 16:17 浏览: 6313 关注: 11 人 babykylin • 2018-08-06 16:19 多少钱,出价吧 三包包 • 2018-08-06 20:22 @babykylin:1000块钱 基本功能 一键MD5码 资...
来源: Laya_社区 发布时间: 20180801
...this.IndexFrame = dt.getTime(); if (this.VideoTexture != null) this.VideoTexture.element.requestVideoFrameCallback(fun); } this.VideoTexture.element.requestVideoFrameCallback(fun); 用此方法输出每帧渲染的时间间隔1、PC...
来源: Laya_社区 发布时间: 20230807
...vent.CLICK, this, onSpriteClick); } private function onSpriteClick(e:Event=null):void { var randomAngle:int = Math.random() * 180; //发送自定义事件 sp.event(ROTATE, [randomAngle]); } // 触发自定义的rotate事件 private function onRotate(newAngle:int):void { Tween.to(sp, {"rotation" : ne...
来源: Laya2.0_示例 发布时间: 20251223
...eate(this, onSkinLoadComplete)); } private function onSkinLoadComplete(e:*=null):void { var dialog:Dialog = new Dialog(); var bg:Image = new Image(assets[0]); dialog.addChild(bg); var button:Button = new Button(assets[1]); button.name = Dialog.CLOSE; button.pos(DIALOG_WIDTH - CLOSE_BTN_WIDTH - CLOSE...
来源: Laya_示例 发布时间: 20251223
...; } private function loadResourceComplated(e:*=null):void { //开始异步加载资源 Laya.loader.load(m_MapImgUrl,Handler.create(this,onLoadMapComplated)); //创建角色帧 ...
来源: Laya_社区 发布时间: 20170921
...ventListener(Event.ADDED_TO_STAGE,init); } } private function init(e:Event=null):void { textInput=new TextField(); textInput.type=TextFieldType.INPUT; textInput.border=true; textInput.multiline=true; textInput.wordWrap=true; textInput.width=200; textInput.x=100; textInput.y=200; addChild(textInput);...
来源: Laya_社区 发布时间: 20151225
...eate(this, onSkinLoadComplete)); } private function onSkinLoadComplete(e:*=null):void { var dialog:Dialog = new Dialog(); var bg:Image = new Image(assets[0]); dialog.addChild(bg); var button:Button = new Button(assets[1]); button.name = Dialog.CLOSE; button.pos(DIALOG_WIDTH - CLOSE_BTN_WIDTH - CLOSE...
来源: Laya2.0_示例 发布时间: 20251223