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

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

641. 微信的缓存引擎只支持了图片和声音,其他lh,lm等文件自动缓存时都不支持是缓存的时候有什么问题和难点吗? [ 62%]

...(全路径)          * @return          */         public static function getFileInfo(fileUrl:String):Object {             return MiniFileMgr.getFileInfo(fileUrl);         }                  /**          * 获取缓存文件列表 ...

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

642. laya.physics.Physics_API3.0 [ 62%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/Physics" Physics Class Physics 2D物理引擎,使用Box2d驱动 Hierarchy EventDispatcher Physics Index Constructors constructor Prope...

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

643. laya.d3.core.render.posteffect.ColorGradEffect_API3.0 [ 62%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/render/PostEffect/ColorGradEffect" ColorGradEffect Class ColorGradEffect ColorGradEffect 类用于创建调色Effect Hierarchy PostProce...

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

644. 小游戏项目 加载有中文的json文件 报错 [ 62%]

...四"},{"id":"2","name":"王麻子"},{"id":"3","name":"layabox"}]} 代码 public function LayaUISample() { //初始化微信小游戏 MiniAdpter.init(); //初始化引擎 Laya.init(600, 400); var url:String = "res/json/Sheet1.json"; Laya.loader.load(url, Handler.create(null, onJsonLoaded,[url]), null...

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

645. laya.d3.component.animator.AnimatorState_API3.0 [ 62%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/Animator/AnimatorState" AnimatorState Class AnimatorState AnimatorState 类用于创建动作状态。 Hierarchy EventDispatcher An...

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

646. laya.maths.Rectangle_API3.0 [ 62%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/maths/Rectangle" Rectangle Class Rectangle Rectangle 对象是按其位置(由它左上角的点 (x, y) 确定)以及宽度和高度定义...

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

647. 二次开发安卓调用问题 [ 62%]

二次开发安卓调用问题 JAVA: public class MainActivity extends Activity{ private void doLogin() { //怎么调用这个doLogin呢? }; } Laya: var doLogin = Laya.PlatformClass.createClass("demo.MainActivity"); doLogin .call("doLogin"); 请问该怎么调用? 2017-10-19 添加评论 免费...

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

648. 微信关系链:LayaAir引擎针对微信小游戏好友关系链实现方案 [ 62%]

...请认真阅读文章,现在改成在具体的使用说明: 主域:public class LayaUISample { public function LayaUISample() { //微信小游戏适配库初始化 MiniAdpter.init(true,false); //初始化引擎 Laya.init(640, 480,WebGL); Laya.stage.scaleMode = Stage.SCALE_FIXED_HEIGHT; Laya.st...

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

649. laya.d3.core.render.posteffect.ScalableAO_API3.0 [ 62%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/render/PostEffect/ScalableAO" ScalableAO Class ScalableAO BloomEffect 类用于创建环境光遮罩效果。 Hierarchy PostProcessEffec...

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

650. this.bitmap.activeResource is not a function [ 62%]

...ya.Sprite; //开放域纹理 private static _openZoneTexture:Laya.Texture; public static openZone(vx:number=0,vy:number=0,scaleX:number=1,scaleY:number=1) { if(!this._openZone) { //开放域 this._openZone = new Laya.Sprite(); } this._openZone.size(Laya.stage.width,Laya.stage.height); if(this._openZ...

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