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

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

281. 请问下为啥我的LayaNative在运行的时候,一直显示Layaair的动画在0%的进度无法跳过呢 [ 43%]

...ascript" src="zlib.min.js"></script> <script src='Main.max.js' loader='laya'></script> </body> </html> 然后我把MainActivity中的initEngine方法中的设置入口面方法改成了mPlugin.game_plugin_set_option("gameUrl", "http://stand.alone.version/index_nat...

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

282. CheckBox属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 43%]

...ckbox.png"; this.skin2 = "checkbox.png"; //加载资源成功后,执行onLoad回调方法 Laya.loader.load([skin1,skin2],Laya.Handler.create(this,onLoaded)); function onLoaded(){ //创建一个CheckBox实例cb1 var cb1 = new Laya.CheckBox(this.skin1); //添加到舞台上显示 Laya.stage.addChild...

来源: Laya2.0_文档 发布时间: 20210715

283. 导航标签组组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 42%]

...组件均已创建完毕,此方法只执行一次 onAwake(): void { Laya.loader.load(this.skins).then( ()=>{ this.onLoadComplete(); } ); } private onLoadComplete(e: any = null): void { let tabA: Laya.Tab = this.createTab(this.skins[0]); tabA.pos(40, 120); tabA.labelColors = "#000000,#d3d3d3,#33...

来源: Laya3.0_文档 发布时间: 20251010

284. CheckBox属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 42%]

...颜色 Laya.stage.bgColor = "#ffffff"; //加载资源成功后,执行onLoaded回调方法 Laya.loader.load([this.skin1,this.skin2],Laya.Handler.create(this,this.onLoaded)); } private onLoaded():void{ //创建一个CheckBox实例cb1 var cb1:Laya.CheckBox = new Laya.CheckBox(this.skin1); //添加到...

来源: Laya2.0_文档 发布时间: 20210715

285. CheckBox属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 41%]

...景色 Laya.stage.bgColor = "#ffffff"; //加载图集成功后,执行onLoad回调方法 Laya.loader.load([skin1,skin2], Handler.create(this, onLoaded)); } private function onLoaded():void { //创建一个CheckBox实例cb1 var cb1:CheckBox = new CheckBox(skin1); //添加到舞台上显示 Laya.stag...

来源: Laya2.0_文档 发布时间: 20210714

286. 苹果上架问题, [ 41%]

...you may not be using this functionality currently, it has the potential to load private frameworks, private methods, and enable future feature changes. This includes any code which passes arbitrary parameters to dynamic methods such as dlopen(), dlsym(), respondsToSelector:, performSelector:, method...

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

287. [LayaAir3]3.3.0-beta.4已知新bug汇总 [ 40%]

...ss = (value: number) => h.runWith(value); } // @ts-ignore return Scene._load(url, progress).then(scene => { scene.open(closeOther, param); if (complete instanceof Handler) complete.runWith(scene); else if (complete) complete(scene); return scene; }); } }2.长音频播放暂停和恢复 触发...

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

288. [BUG]刚体约束问题,移动后约束混乱! [ 39%]

... var planeMat = new Laya.BlinnPhongMaterial();     Laya.Texture2D.load("res/threeDimen/Physics/grass.png", Laya.Handler.create(this, function (tex) {       planeMat.albedoTexture = tex;     }));     //设置纹理平铺和偏移     var tilingOffset = planeMat.til...

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

289. 时间轴动画(JavaScript-LayaAir基础篇(JS)-动画基础) [ 37%]

...动画所需的图集。 ```javascript //加载图集成功后,执行onLoaded回调方法 Laya.loader.load("res/atlas/ui.atlas", Laya.Handler.create(this, onLoaded)); ``` 第二步:创建Animation实例,加载动画文件 ```javascript //创建一个Animation实例 var tl = new Laya.Animation(...

来源: Laya2.0_文档 发布时间: 20210715

290. 时间轴动画(TypeScript-LayaAir基础篇(TS)-动画基础) [ 36%]

...动画所需的图集。 ```typescript //加载图集成功后,执行onLoaded回调方法 Laya.loader.load("res/atlas/ui.atlas",Laya.Handler.create(this,this.onLoaded)); ``` 第二步:创建Animation实例,加载动画文件 ```typescript //创建一个Animation实例 var tl:Laya.Animation = n...

来源: Laya2.0_文档 发布时间: 20210715