大约有 596 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0060 秒)
... { cell.setImg(cell.dataSource); } private onSelect(index: number): void { console.log("当前选择的索引:" + index); } } import Box = Laya.Box; import Image = Laya.Image; class Item extends Box { public static WID: number = 373; public static HEI: number = 85; private img: Image; constructor(...
来源: Laya_示例 发布时间: 20260929
...新 this.obj.transform.rotate(this.rotation, false, false) } onDisable() { console.log("组件设置为不可用"); } } 2020-06-11 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 GameMonkey 相关问题 sprite旋...
来源: Laya_社区 发布时间: 20200611
...ude": [ "node_modules" ] } test: let str = Md5.Instance.get_md5("123456"); console.log(str) //len:32 //e10adc3949ba59abbe56e057f20f883emd5.ts class Md5 { private static _inst:Md5; public static get Instance():Md5 { return this._inst ||(this._inst = new Md5()); } public get_md5(str:string):string { r...
来源: Laya_社区 发布时间: 20190321
...事 let mesh = this.owner.getChildAt(1) as Laya.SkinnedMeshSprite3D; console.log(mesh.skinnedMeshRenderer.isRender); 这是我测试时的模型和代码,实际使用根据模型的导出的层级和类型而定。附:我使用的是2.6.1版本,据说2.5之后都是改成这样了,之...
来源: Laya_社区 发布时间: 20181009
...); // 程序入口 class GameMain { constructor() { // Laya.init(600,400); console.log("start"); var exportCls = new t.TestExportCls(); exportCls.callFunc(); } } new GameMain(); } http://requirejs.org/docs/errors.html#mismatch at makeError (file:///E:/laya/TestImport/bin/node_modules/requirejs/requi...
来源: Laya_社区 发布时间: 20171116
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 1.7.20beta有bug,帧属性面板打不开 mac 用layaair2.0 ide 的编辑模式下,cpu爆满 dialog的lock属性没出现 tiledMap问题,getTileProperties...
来源: Laya_社区 发布时间: 20181108
...g'); //此处无论是这样给 list.on(Laya.Event.CLICK, this, () => { console.log(413132131) }) //还是在handler中去渲染,都会滚动不了 txArray.push(list);} storeTxList.array = txArray; Laya.stage.addChild(storeTxList); 悬赏找大神看问题 export default class StoreIte...
来源: Laya_社区 发布时间: 20190711
... y: collider.owner.y - collider.radius * local.y } console.log(point); } 其中b是CircleCollider,如果b是BoxCollider,代码修改如下: let point = { x: collider.owner.x - collider.width * 0.5 * local.x, y: collider.owner.y -...
来源: Laya_社区 发布时间: 20201114
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 问题状态 最新活动: 2018-05-25 16:53 浏览: 937 关注: 2 人 170*****199 • 2018-05-25 16:56 第一次进加载的,是默认缓存的 不能缓存...
来源: Laya_社区 发布时间: 20180525
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 本地调试加载本地图片都报错 在List渲染的时候,在滚动一个list的时候,如何实现另一个list也跟着滚动,并且两个list同...
来源: Laya_社区 发布时间: 20200810