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

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

761. laya.ui.AsynDialog [ 75%]

...AsynDialogProperties | Methods | Events | Constants Packagelaya.uiClasspublic class AsynDialogInheritanceAsynDialog Dialog View Box Component Sprite Node EventDispatcher Object 异步Dialog的生命周期:show或者popup > onCreate(如果没有创建过) > onOpen > onClose > onDestro...

来源: laya_api 发布时间: 20170929

762. 骨骼动画-换装 [ 75%]

...r.height); Laya.stage.bgColor = "#ffffff"; Stat.show(); this.startFun(); } public startFun():void { this.mAniPath = "../../res/spine/spineRes2/goblins.sk"; this.mFactory = new Templet(); this.mFactory.on(Event.COMPLETE, this, this.parseComplete); this.mFactory.on(Event.ERROR, this, this.onError); th...

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

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

...么回事呢 ?可以帮帮我解答下吗 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.Image; private skin_lock:Laya....

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

764. 请问laya有没有类似翻页容器(pageView)的组件? [ 75%]

...imgArray.push(`ui/bg_help_0${i}.png`) } this.list_rule.array = imgArray; } public updateItem(cell: Laya.Box, index: number): void { let img_rule = cell.getChildByName("img_rule") as Laya.Image; img_rule.skin = cell.dataSource let text_info = cell.getChildByName("text_des") as Laya.Text; let i18n = L...

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

765. 同步龙骨插槽动画方案 [ 75%]

...ort class MSketon {      private mFactory: Laya.Templet;     public mArmature: Laya.Skeleton     private _handler: Laya.Handler;      constructor(url: string, handler: Laya.Handler, aniMode: number = 0) {         this._handler = handler;         t...

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

766. 滤镜效果 · LayaAir3.3 · 引擎文档 · LAYABOX [ 75%]

...extends Laya.Script { // 获得Image组件 @property({ type: Laya.Image }) public img: Laya.Image; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { //创建一个颜色滤镜对象 let colorFilter: Laya.ColorFilter = new Laya.Col...

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

767. 3D变换 · LayaAir3.3 · 引擎文档 · LAYABOX [ 74%]

...暴露cube的属性,代码如下: @property({ type: Laya.Sprite3D }) public cube: Laya.Sprite3D; 然后在IDE中,将Cube节点拖入装饰器暴露的属性入口,即可用代码控制Cube节点了。 1. 平移变换 平移变换的定义如下: /** * 平移变换。 * @param translation ...

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

768. LayaFlash如何使用chrome调试问题? [ 74%]

...下: package { import flash.display.Sprite; import flash.events.Event; public class Main extends Sprite { public function Main() { if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); } private function init(event:Event = null):void { removeEventListener(Event.ADDED_TO_STAGE, init...

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

769. 3d特效克隆时,在手机会现卡顿情况,特效资源已经提前在加载 [ 74%]

...组资源在地图变化时自动销毁          * **/         public function Load(url:String,isGroup:Boolean):void {             _path = UrlConfig.EFFECT_PATH_3D+url;             var itemComplete:Sprite3D =  Laya.loader.getRes(_path);             if(itemCompl...

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

770. laya.ui.ScaleBox [ 74%]

...ames No Frames ScaleBoxProperties | Methods | Events Packagelaya.uiClasspublic class ScaleBoxInheritanceScaleBox Box UIComponent Sprite Node EventDispatcher Object 自适应缩放容器,容器设置大小后,容器大小始终保持stage大小,子内容按照原始最小宽高比缩放 Publ...

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