大约有 3,291 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0080 秒)
...: Cannot read property 'call' of undefined at Function.<anonymous> (laya.core.js:127) at new Test (Test.js:3) at onAssetLoaded (LayaUISample.js:64) at EventHandler.__proto.runWith (laya.core.js:681) at ResInfo.__proto.event (laya.core.js:460) at LoaderManage...
来源: Laya_社区 发布时间: 20170621
...on; constructor(){ super(); this.btnLogin.on(Laya.Event.CLICK,this,()=>{ console.log('btnLogin click') }) } createChildren(){ super.createChildren(); this.loadScene('LoginScene'); } } import LoginScene from "./script/LoginScene" /* * 游戏初始化配置; */ export default class G...
来源: Laya_社区 发布时间: 20190402
...设置此属性为true能大大提高性能 List cells : Vector.<Box>[read-only] 单元格集合。 List centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 Component centerY : Number 在父容器中...
来源: laya_api 发布时间: 20170929
... Laya.loader.load(url,Laya.Handler.create(this,(texture:Laya.Texture2D)=>{ this.rankMateral.texture = texture; }),null,Laya.Loader.TEXTURE2D); 破空 • 2019-05-13 09:59 BUG已经解决:是底层问题,使用LOAD加载IMG图片与3D资源,2D资源没有带上TYPE,但在当前类中不带...
来源: Laya_社区 发布时间: 20190508
...tGrahicsDataWithCache(this._aniClipIndex,minIndex-1))&& (minIndex > 0)){ minIndex--; } if (minIndex < this._clipIndex){ for (i=minIndex;i < this._clipIndex;i++){ this._createGraphics(i); } } tGraphics = this._templet.getGrahicsDataWithCache(this._aniClipIndex, this._clipIndex); } if...
来源: Laya_社区 发布时间: 20200109
...现Matter.js官方案例凹多边形的问题 LayaFlash:求ByteArray.jas ->readMultiByte对gb2312的实现翻译 在线急等,发现你们这个编译器一个bug,不能实现负负得正 怎么实现同一个工程内分包? Layabox如何实现本地存储 问题状态 最新活动: 2018-1...
来源: Laya_社区 发布时间: 20161122
...的libs 目录中 也就是把上边的 /// <reference types="when" /> export = autobahn; 删掉 这样就和Laya库的格式比较像 只是多了个命名空间declare namespace autobahn { export class Session { id: number; realm: string; isOpen: boolean; features: any; .................
来源: Laya_社区 发布时间: 20180805
... if(!this._particleTemplate)return; var sv: any = ((<ParticleTemplate2D>this._particleTemplate)).sv; 2021-10-10 0 1 分享 微博 QZONE 微信 肖刚 赞同来自: Laya_Fred您好,我有个问题,模拟做愤怒的小鸟游戏时,需要获取碰撞的冲量强度,但是onTrigger函数...
来源: Laya_社区 发布时间: 20211010
...中是否激活。 components get components(): ReadonlyArray<Component> Inherited from Node.components Defined in laya/display/Node.ts:983 返回所有组件实例。 Returns ReadonlyArray<Component> 返回组件实例数组。 destroyed get destroyed(): boolean Inherited from Node.dest...
来源: Laya3.0_api 发布时间: 20231115
...的问题,重新回复了,也提供了demo,有空麻烦帮忙康康>_< layabox • 2022-01-29 12:31 @黄杰龙:设置高清分辨率模式也可以,就是让画布采用物理分辨率的模式。官网文档看一下
来源: Laya_社区 发布时间: 20220118