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

大约有 2,482 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0053 秒)

2141. iframe页面嵌套下失焦(焦点在父窗口被聚焦),playMusic背景音乐播放无声音 [ 48%]

...失焦(焦点在父窗口被聚焦),playMusic背景音乐播放无声音 public static function playSound(url:String, loops:int = 1, complete:Handler = null, soundClass:Class = null, startTime:Number = 0):SoundChannel { if ((!_isActive && loops != 0) || !url) return null; if (_muted) retur...

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

2142. ts加密md5码封装 [ 48%]

...0adc3949ba59abbe56e057f20f883emd5.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 { return this.md5(str); } split(target: string | any[], step: number, markString: boolean = typeof target ==...

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

2143. spine骨骼动画如何获取某个骨骼的坐标 [ 47%]

...表 * @param nameOrIndex * @param boneName * @return 骨骼坐标列表 */ public function getBoneCoords(nameOrIndex:*, boneName:String):Array { var arrCoords:Array = ;   var aniClipIndex:int = getAniClipIndex(nameOrIndex); var curOriginalData:Float32Array = new Float32Array(_templet.getTotalkeyfra...

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

2144. laya.physics.BoxCollider_API3.0 [ 47%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/BoxCollider" BoxCollider Class BoxCollider 2D矩形碰撞体 Hierarchy ColliderBase BoxCollider Index Constructors constructor Propertie...

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

2145. laya.utils.Browser_API3.0 [ 47%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/utils/Browser" Browser Class Browser Browser 是浏览器代理类。封装浏览器及原生 js 提供的一些功能。 Hierarchy Browser Inde...

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

2146. 使用layacmd资源版本管理时,与res相同目录的未打包的大图片改怎么处理呢 [ 47%]

...前缀 * @param originURL 源路径 * @return 格式化后的新路径 */ public static function addVersionPrefix(originURL:String):String { if (manifest && manifest["resource/"+originURL]) return manifest["resource/"+originURL] + "/resource/" + originURL; retur...

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

2147. [LayaAir3]Laya3.0 中设置舞台背景透明无效 [ 47%]

...vate _view: HTMLDivElement = document.createElement("div");           public Show(): void {         Laya.Browser.document.body.appendChild(this._view);         this._view.appendChild(this.iframe);          this.iframe.src = "https://www.layabox.com/";         this.iframe.style....

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

2148. 设置自动竖屏后 打包APP 安装到手机后显示黑屏 不设置自动竖屏又正常 [ 47%]

...装到手机后显示黑屏 不设置自动竖屏又正常         public function LayaSample()         {             //初始化引擎,建议增加WebGl模式             Laya.init(720, 1280,WebGL); //            Stat.show();             //全屏不...

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

2149. laya.components.AnimatorController2D_API3.0 [ 47%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/components/AnimatorController2D" AnimatorController2D Class AnimatorController2D 2D动画控制器 Hierarchy Resource AnimatorController2D Index...

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

2150. laya.physics.PolygonCollider_API3.0 [ 47%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/PolygonCollider" PolygonCollider Class PolygonCollider 2D多边形碰撞体,暂时不支持凹多边形,如果是凹多边形,先...

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