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

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

571. list中的item类中的button注册事件不响应 是怎么回事呢 ?可以帮帮我解答下吗 [ 68%]

...ton注册事件不响应 是怎么回事呢 ?可以帮帮我解答下吗 class Item extends Laya.Box{ public static WID: number = 147; public static HEI: number = 190; private skin_progress_chip:Laya.ProgressBar; private skin_img:Laya.Image; private skin_chipNum:Laya.Text; public skin_btn_use:Laya...

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

572. 射线检测-放置物体 [ 68%]

...ere.transform.rotate(new Laya.Vector3(0, 90, 0), false, false); } }); })();class RayPicking02 { private ray: Laya.Ray = new Laya.Ray(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 0, 0)); private point: Laya.Vector2 = new Laya.Vector2(); private _outHitInfo: Laya.RaycastHit = new Laya.RaycastHit(); ...

来源: Laya_示例 发布时间: 20251209

573. 其他 · LayaAir3.3 · 引擎文档 · LAYABOX [ 68%]

...编码的文件。 3. 日志级别 LayaNative底层LOG分为五种: enum class LogType { Debug, Info, Warn, Error, Fatal, }; 每种日志对应的日志级别如下: enum class LogLevel { Debug = 5, Info = 4, Warn = 3, Error = 2, Fatal = 1, Close = 0, }; 在js脚本中,开发者可以通过以...

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

574. laya.components.Script [ 68%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ScriptProperties | Methods Packagelaya.componentsClasspublic class ScriptInheritanceScript Component Object Script 类用于创建脚本的父类,该类为抽象类,不允许实例。 组件的生命周期 Public Pro...

来源: Laya2.0_api 发布时间: 20190513

575. laya.d3.core.BaseCamera [ 68%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames BaseCameraProperties | Methods | Events | Constants Packagelaya.d3.coreClasspublic class BaseCameraInheritanceBaseCamera Sprite3D Node EventDispatcher ObjectSubclasses Camera BaseCamera 类用于创建摄像机的父...

来源: Laya2.0_api 发布时间: 20190513

576. 微信飞机大战报错 [ 68%]

... this, this.onPauseBtnClick);         this.reset();     }     Laya.class(GameInfo, "GameInfo", _super);     var _proto = GameInfo.prototype;     _proto.reset = function(){         this.infoLabel.text = "";         this.hp(5);         this.level(0);         this.score(0); ...

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

577. 类未找到方法 [ 68%]

类未找到方法 public class Welcome extends welcomeUI { public function Welcome() { requestData(); } private function requestData():void{ RequestConfig.instance.getRequestConfig(String(0), requestCallback); } private function requestCallback(success:Boolean):void { if(success) { loadingRes(); }...

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

578. laya.d3.core.render.IUpdate [ 68%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames IUpdateMethods Packagelaya.d3.core.renderInterfacepublic interface IUpdateImplementors Component3D, Sprite3D IUpdate 接口用于实现3D对象的更新相关功能。 Public Methods  MethodDefined By  _update(state:Re...

来源: laya_api 发布时间: 20170929

579. Clip组件Bug:Play方法无法结束循环 [ 68%]

...,现在有插件开发,修改源码会有问题): export default class GifView extends Laya.Clip {     /**      *开始帧位置      *      * @private      * @memberof GifView      */     private frameIndex = 0;     /**      *结束帧...

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

580. 2d帧动画bug:编译运行会掉帧,编辑器不会掉帧,2.2.0版本以上都有这个问题 [ 68%]

... null) 改成 if (FrameAnimation._sortIndexFun == null)   代码如下: class FrameAnimation extends AnimationBase { constructor() { super(); if (FrameAnimation._sortIndexFun == null) { FrameAnimation._sortIndexFun = MathUtil.sortByKey("index", false, true); } }      2019-11-19 0 2 分享 微...

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