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

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

411. 按钮失效,同UI里的一个图片超链接点击后再返回,出现按钮失效。 [ 41%]

...的继承类 var StartResource = function StartResource(){ StartResource.super(this); //LOGO 图标 访问地址 var href='https://list.tmall.com/search_product.htm?q=%BB%A8%D3%A1%D0%B6%D7%B1%CB%AE&type=p&spm=a220m.1000858.a2227oh.d100&xl=%BB%A8%D3%A1_2&from=.list.pc_1_suggest';   ...

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

412. 分享:简单聊天室 [ 41%]

...r2:String; private var isSend:Boolean=false; public function HtmlView1() { super(); // 文本样式一 str="<span color='blue' style=' font" + ":18px 华文琥珀' href='http://ask.layabox.com'>LayaBox</span>" + "<span color='white' style=' font:18px 华文琥珀'>邀请</span&g...

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

413. 微信小游戏加载资源问题 [ 41%]

...niSoundChannel extends Laya.SoundChannel { constructor(audio, miniSound) { super(); this._audio = audio; this._miniSound = miniSound; this._onEnd = MiniSoundChannel.bindToThis(this.__onEnd, this); audio.onEnded(this._onEnd); } static bindToThis(fun, scope) { var rst = fun; rst = fun.bind(scope); ret...

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

414. UI运行时 · LayaAir3.3 · 引擎文档 · LAYABOX [ 41%]

... { console.log("Game start"); this.ui = this.owner.scene as RuntimeScript; super.baseUI(this.ui); } } import { Main } from "./Main"; import { ButtonRuntime } from "./ButtonRuntime"; const { regClass, property } = Laya; @regClass() export class ButtonScript extends Main { private ui: ButtonRuntime; o...

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

415. 加载的时候动画会卡 [ 41%]

...e));     }   (function() {     function Lload() {         Lload.__super.call(this);         this.dh();         this.btn.on(Event.MOUSE_DOWN,game,this.toquanjing);         Laya.propertyIsEnumerable = true;     }     Laya.class(Lload,"Lload",ui.loadUI);     Lload.prototype.d...

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

416. 扇形遮罩画不全画了一个很奇怪的形状但是矩形的就没问题。显示效果如下:版本号1.7.10 [ 41%]

...      {             this.spSize = size;             super();         }                  public static function create(img:Image,size:laya.maths.Size):ProcessTimer         {             var pt:ProcessTimer = new ProcessTimer(size);         ...

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

417. 在微信小游戏中,主域中显示开发域的list为什么显示不全? [ 40%]

...mg: Laya.Image;         //private text: Laya.Label; constructor(){ super(); this.size(Item.WID, Item.HEI); this.img = new Laya.Image();             //this.text = new Laya.Label(); this.addChild(this.img);             //this.addChild(this.text); } public setImg(src: st...

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

418. 导航标签组组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 40%]

..."resources/res/ui/tab1.png", "resources/res/ui/tab2.png"]; constructor() { super(); } // 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { Laya.loader.load(this.skins).then( ()=>{ this.onLoadComplete(); } ); } private onLoadCompl...

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

419. 深入理解LayaAir引擎架构和实现原理(三)引擎渲染主循环与AOP介入控制 [ 40%]

...逻辑。引擎内所有的计时器timer都是在这里更新的。其中super.render(context, x, y); 属于stage的父类Sprite类的方法,渲染具体实现的地方。与其他引擎不同的是,Laya的帧率只有两种,高帧率模式固定60帧,低帧率模式 为双帧处理渲染...

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

420. 下拉选项框组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 40%]

...资源来自“引擎API使用示例” pageWidth: number; constructor() { super(); } // 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { Laya.loader.load(this.skin).then(() => { let ComboBox: Laya.ComboBox = new Laya.ComboBox(t...

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