• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 598 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0050 秒)

251. 内存释放问题 [ 74%]

...题 export class ResUIModuleManager { /** * 模块资源路径 */ private static moduleResPath: string = 'res/atlas/{0}.json'; /** * 模块的资源名称和模块的主面板(模块的主面板类全名,模块资源图集名称[]) * @type {Laya.Dictionary} * @memberof ResourcesModuleManager *...

来源: Laya_社区 发布时间: 20170905

252. 性能测试-卡通人物2 [ 73%]

....text = Stat.FPS.toString(); } } } class Character extends Sprite { public static WIDTH: number = 110; public static HEIGHT: number = 110; private speed: number = 5; private bloodBar: Sprite; private animation: Animation; private nameLabel: Text; constructor(images: Array) { super(); this.createAnim...

来源: Laya2.0_示例 发布时间: 20241001

253. linearVelocity 获取的线速度不正确 [ 73%]

...国 已经确定了是引擎bug 只要修改下就好希望官方处理下 static _convertToLayaVec3(bVector, out, inverseX) { var bullet = Physics3D._bullet; out.x = inverseX ? -bullet.btVector3_x(bVector) : bullet.btVector3_x(bVector); out.y = bullet.btVector3_y(bVector); out.z = bullet.btVector3_...

来源: Laya_社区 发布时间: 20200330

254. IOS 音乐和音效 切后台再回来 之后声音消失 [ 73%]

...时候,重新创建AudioContext,然后就能正常播放了。     static _visibilityChange() {             if (ILaya.stage.isVisibility) {                 SoundManager._recreateWebAudio(() => { SoundManager._stageOnFocus(); });             }             else {   ...

来源: Laya_社区 发布时间: 20180425

255. spine适配版微信开发者平台报错 [ 73%]

...邀请: 与内容相关的链接 提交 3 个回复 northTg 赞同来自: static init(par: fgui.GComponent) { this.parent = par; this.aniPath = "res/sk/pipei.skel"; this.index = -1; this.startFun(); } static startFun() { if (!this.templet) this.templet = new Laya.SpineTemplet(Laya.SpineVersion.v3_8)...

来源: Laya_社区 发布时间: 20211207

256. laya.resource.HTMLCanvas_API3.0 [ 73%]

...ource.uuid Defined in laya/resource/Resource.ts:109 获取资源的UUID。 Static DEBUG DEBUG: boolean = false Inherited from Resource.DEBUG Defined in laya/resource/Resource.ts:19 是否开启debug模式 Accessors context get context(): Context Defined in laya/resource/HTMLCanvas.ts:110 Canvas 渲...

来源: Laya3.0_api 发布时间: 20231115

257. wkwebview使用异常 [ 73%]

...("new Entry"); Browser.__init__(); Laya.init(1280,720,WebGL);     public static function __init__():* {             console.log("Brower Init CCCCCC");             if (_window) return _window;             console.log("Brower Init DDDDDDDD");           ...

来源: Laya_社区 发布时间: 20200810

258. laya.display.Input [ 73%]

...建议优先使用cacheAs代替。 Sprite CharacterCache : Boolean = true[static] WebGL渲染文字时是否启用字符缓存,对于字形多的语种,禁用缓存。 对于字形随字母组合变化的语种,如阿拉伯文,启用将使显示错误。但是即使禁用,自动换行也...

来源: laya_api 发布时间: 20170929

259. laya.d3.core.material.unlit.UnlitTestMaterial_API3.0 [ 73%]

...ource.uuid Defined in laya/resource/Resource.ts:101 获取资源的UUID。 Static ALPHATESTVALUE ALPHATESTVALUE: number Inherited from Material.ALPHATESTVALUE Defined in laya/d3/core/material/Material.ts:50 着色器变量,透明测试值。 Static DEBUG DEBUG: boolean = false Inherited from Resourc...

来源: Laya3.0_api 发布时间: 20231102

260. List组件拖动浏览时item会出现重叠的现象 [ 73%]

...t Label = Laya.Label; export class ListDataSourceItem extends Box { public static WID: number = 200; public static HEI: number = 20; // private _img: Image = null; private _lb:Label = null; constructor() { super(); this._lb = new Label(); this._lb.size(ListDataSourceItem.WID, ListDataSourceItem.HEI)...

来源: Laya_社区 发布时间: 20180410