大约有 5,021 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0095 秒)
Laya_社区(4925) Laya2.0_文档(33) Laya3.0_文档(18) Laya3.0_api(13) Laya_示例(12) Laya2.0_示例(11) Laya2.0_api(7) laya_api(2)
...面是我的代码处理: class demo { private down:Laya.Image; constructor() { // 鼠标事件 Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.onMouseDown); Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.onMouseMove); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.onMouseUp, [true]); } /** 按钮...
来源: Laya_社区 发布时间: 20180731
Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 小游戏里面没有这个类,如何解决这个? 2019-03-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 aicode 赞同来自: 斐...
来源: Laya_社区 发布时间: 20190317
...t.datasource { import List = laya.ui.List; export class ListDataSourceMediator { constructor() { } public setUp():void { var list: List = new List(); // 渲染的item list.itemRender = ListDataSourceItem; // 设置行列显示的item个数 list.repeatX = 1; list.repeatY = 4; // list居中显示 list...
来源: Laya_社区 发布时间: 20180410
...新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. matter中layasprite怎么改变图片大小? Texture图片能否...
来源: Laya_社区 发布时间: 20180613
....png 10-17 15:08:01.940 6337-6869/com.mygame.laya W/LayaBox: [error]Failed to load: --------- beginning of crash 10-17 15:08:02.064 6337-6649/com.mygame.laya W/google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ### 10-17 15:08:02.065 6337-6649/com.mygame.laya W/google-breakpad: Chrome ...
来源: Laya_社区 发布时间: 20171017
...。class GameLayer extends ui.GameLayerUI { private infos : any; constructor () { super (); this.infos = { rotation : 0 }; Laya.timer.frameLoop(1,this,()=> { this.infos.rotation += 1; if (this.infos.rotation >= 360) this.infos.rotation -= 360; this.IM_TURNTABLE.rotation = this.infos.rotation; ...
来源: Laya_社区 发布时间: 20180720
...启动chrome出现错误: Error processing launch: Error Could not attach to main target 关于Laya实现Matter.js官方案例凹多边形的问题 使用了u3D导出来的粒子,不停的显示移除并销毁其克隆对象,统计面板的显存和内存就会显示成负数 谷歌浏览器播...
来源: Laya_社区 发布时间: 20180209
...启动chrome出现错误: Error processing launch: Error Could not attach to main target 有什么容器能够实现当子元素达到显示上限后自动滚屏,使得新添加的元素始终保持在最底部显示? 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能...
来源: Laya_社区 发布时间: 20170826
... { super(); if(stage) { init(); } else { this.addEventListener(Event.ADDED_TO_STAGE,init); } } private function init(e:Event=null):void { var loader:Loader=new Loader(); var context:LoaderContext=new LoaderContext(false,ApplicationDomain.currentDomain); loader.contentLoaderInfo.addEventListener(Even...
来源: Laya_社区 发布时间: 20151224
...启动chrome出现错误: Error processing launch: Error Could not attach to main target 分享:适配LayaAir版本的PureMVC框架 游戏运行在chrome里面 听不见声音 用了第三方socket类 项目在IDE上可以连接正常运行,为什么打包APK之后在手机上就连接不上sock...
来源: Laya_社区 发布时间: 20200512