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

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

3221. laya.ui.Button_API3.0 [ 34%]

...ler; public class Button_Example { public function Button_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoadComplete));//加载资源。 } private function...

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

3222. laya.ui.CheckBox_API3.0 [ 34%]

... public class CheckBox_Example { public function CheckBox_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/check.png", Handler.create(this,onLoadComplete));//加载资源。 } private function ...

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

3223. laya.map.MapLayer [ 33%]

...umber, y:Number):Boolean 检测某个点是否在此对象内。 Sprite  init(layerData:*, map:TiledMap):void 解析LAYER数据,以及初始化一些数据 MapLayer isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher loadImage(url:String, x:Number...

来源: laya_api 发布时间: 20170929

3224. 关于LayaBox启动的问题。 [ 33%]

... { fs_mkdir(sTempFontPath); } sTempFontPath += "layabox.ttf"; bRet = conch.initFreeTypeDefaultFontFromFile(sTempFontPath); if (bRet == false) { var data = ([b]yield asyncs.downloadSync[/b](location.fullpath + '/font/simhei.ttf', true, null)); if (!data) { data = ([b]yield asyncs.downloadSync[/b]('ht...

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

3225. socket通讯返回数据 [ 33%]

...ya.Socket; private byte: Laya.Byte; constructor() { //初始化引擎 Laya.init(600, 400, Laya.WebGL); this.byte = new Laya.Byte(); //这里我们采用小端 this.byte.endian = Laya.Byte.LITTLE_ENDIAN; this.socket = new Laya.Socket(); //这里我们采用小端 this.socket.endian = Laya.Byte.LITTLE...

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

3226. Laya.loader.load(xx) 当地址""的时候,会报错。 [ 32%]

...调试加载本地图片都报错 启动引擎报错 mPlugin.game_plugin_init(3); 微信小游戏编译报错 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined 问题状态 最新活动: 2020-11-30 18:21 浏览: 1328 关注: 1 人

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

3227. 3D粒子 · LayaAir3.3 · 引擎文档 · LAYABOX [ 32%]

...,清理对象池 export class Particle3D extends Sprite3D { private _isInited: boolean = false; private _filePath: string = null; private _particle: Laya.Sprite = null; private _shuriKenParticle3D: Array<ShuriKenParticle3D>= []; private _shurikenParticleSystem: Array<ShurikenParticleSyste...

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

3228. 3D粒子编辑模块 · LayaAir3文档 · LAYABOX [ 32%]

...,清理对象池 export class Particle3D extends Sprite3D { private _isInited: boolean = false; private _filePath: string = null; private _particle: Laya.Sprite = null; private _shuriKenParticle3D: Array<ShuriKenParticle3D>= []; private _shurikenParticleSystem: Array<ShurikenParticleSyste...

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

3229. 构建apk后,java报错 [ 32%]

...ptorFactory.java:80)         at miui.contentcatcher.InterceptorFactory.initInterceptorClass(InterceptorFactory.java:99)         at miui.contentcatcher.InterceptorFactory.createInterceptor(InterceptorFactory.java:41)         at miui.contentcatcher.InterceptorProxy$H.handleMessage(Intercep...

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

3230. Laya多点触控是有开关吗 为什么多点触控没有任何反应 [ 32%]

... constructor(){         //初始化引擎         Laya3D.init(0, 0);         Laya.stage.scaleMode = Laya.Stage.SCALE_FULL;         Laya.stage.screenMode = Laya.Stage.SCREEN_NONE;         this.upVector3 = new Laya.Vector3(0, 1, 0);         //预加载...

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