大约有 873 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0053 秒)
...l1 = (function (_super) { function MPanel1() { MPanel1.super(this); } Laya.class(MPanel1, "MPanel1", _super) var _proto = MPanel1.prototype; return MPanel1; }(ui.Panel1UI));代码如上,报错如下 附件 : --> 2018-02-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20180206
...ll Inherited Externals Only exported Menu Globals "laya/utils/Timer" Timer Class Timer Timer 是时钟管理类。它是一个单例,不要手动实例化此类,应该通过 Laya.timer 访问。 Hierarchy Timer Index Constructors constructor Properties currFrame currTimer scale Accessors delta M...
来源: Laya3.0_api 发布时间: 20231115
...出图片与游戏内显示颜色差距过大 测试代码 export default class TestView { constructor() { this.init(); } init() { Laya.stage.bgColor='#ffffff'; Laya.stage.addChild(new Laya.Image('comp/img/img1.png')); Laya.timer.once...
来源: Laya_社区 发布时间: 20230419
...的_update函数不工作? 我从Laya.Script类extends了一个自己的class,贴在一个物体上,运行的时候脚本的_start函数中的log正常打印出来了,但是_update函数中的log没有打印 _update(state:Laya.RenderState) { console.log("state:", state.elapsedTime); } 请...
来源: Laya_社区 发布时间: 20180614
...als "laya/d3/RenderObjs/NativeOBJ/NativeIndexBuffer3D" NativeIndexBuffer3D Class NativeIndexBuffer3D Hierarchy IndexBuffer3D NativeIndexBuffer3D Index Constructors constructor Properties _buffer _bufferType _bufferUsage _byteLength _conchIndexBuffer3D _glBuffer Accessors bufferUsage canRead indexCou...
来源: Laya3.0_api 发布时间: 20231115
...该是我IDE版本最新的问题导致 吉日-jerry • 2018-05-16 11:28 class ResourceVersion { /**基于文件夹的资源管理方式(老版本IDE默认类型)*/ static FOLDER_VERSION: number; /**基于文件名映射管理方式(新版本IDE默认类型)*/ static FILENAME_VERSION: numbe...
来源: Laya_社区 发布时间: 20180515
射线检测报错,outHitInfo.sprite3D=null; 代码: class SceneScript extends Laya.Script{ private ray : Laya.Ray; private hit: Laya.RaycastHit; private phasorSprite3D:Laya.PhasorSpriter3D; private camera : Laya.Camera; private scene: Laya.Scene; public _load(owner : any):void{ this.scene ...
来源: Laya_社区 发布时间: 20181020
...ty 'toDefault' of undefined报错是什么原因 主要代码如下:Laya.class(MousePickingScene, "MousePickingScene", Laya.Scene); function MousePickingScene() { MousePickingScene.super(this); this.camera = new Laya.Camera(0,0.1,100); this.addChild(this.camera); this.camera.clearFlag = Laya.BaseC...
来源: Laya_社区 发布时间: 20170323
...enderObjs/NativeOBJ/NativeSkinRenderElementOBJ" NativeSkinRenderElementOBJ Class NativeSkinRenderElementOBJ Hierarchy NativeRenderElementOBJ NativeSkinRenderElementOBJ Implements IRenderElement Index Constructors constructor Properties _nativeObj _owner _shaderInstances _skinnedData Accessors _geome...
来源: Laya3.0_api 发布时间: 20231115
...onch5, PID: 13400 07-22 15:28:49.398: E/AndroidRuntime(13400): java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/impl/client/DefaultHttpClient; 07-22 15:28:49.398: E/AndroidRuntime(13400): at layaair.autoupdateversion.NetHelper.httpStringGet(NetHelper.java:28) 07-22 15:28:49.398...
来源: Laya_社区 发布时间: 20190722