大约有 492 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0052 秒)
...的继承类 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
...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
...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
... { 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
...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
... { this.spSize = size; super(); } public static function create(img:Image,size:laya.maths.Size):ProcessTimer { var pt:ProcessTimer = new ProcessTimer(size); ...
来源: Laya_社区 发布时间: 20180404
...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
..."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
...逻辑。引擎内所有的计时器timer都是在这里更新的。其中super.render(context, x, y); 属于stage的父类Sprite类的方法,渲染具体实现的地方。与其他引擎不同的是,Laya的帧率只有两种,高帧率模式固定60帧,低帧率模式 为双帧处理渲染...
来源: Laya_社区 发布时间: 20200925
...资源来自“引擎API使用示例” pageWidth: number; constructor() { super(); } // 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { Laya.loader.load(this.skin).then(() => { let ComboBox: Laya.ComboBox = new Laya.ComboBox(t...
来源: Laya3.0_文档 发布时间: 20251010