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

大约有 175 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0083 秒)

161. laya.ui.VScrollBar_API3.0 [ 45%]

...启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Parameters b: boolean Returns void dataSource get dataSource(): any set dataSource(value: any): void Inherited from UIComponent.dataSource Defined in laya/ui/UIComponent.ts:134 implements 数据赋值,通过...

来源: Laya3.0_api 发布时间: 20231115

162. laya.ui.Tree_API3.0 [ 45%]

...in laya/ui/Tree.ts:254 创建一个新的 Tree 类实例。 在 Tree 构造函数中设置属性width、height的值都为200。 Returns Tree Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherit...

来源: Laya3.0_api 发布时间: 20231115

163. laya.display.Text_API3.0 [ 44%]

...启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Parameters b: boolean Returns void destroyed get destroyed(): boolean Inherited from Node.destroyed Defined in laya/display/Node.ts:92 是否已经销毁。对象销毁后不能再使用。 Returns boolean dis...

来源: Laya3.0_api 发布时间: 20231115

164. laya.ui.Radio_API3.0 [ 43%]

...lickHandler Defined in laya/ui/Button.ts:628 对象的点击事件处理器函数(无默认参数)。 implements Returns Handler Inherited from Button.clickHandler Defined in laya/ui/Button.ts:632 对象的点击事件处理器函数(无默认参数)。 implements Parameters value: Handler R...

来源: Laya3.0_api 发布时间: 20231115

165. Timer Handler被覆盖 [ 43%]

...d:Function,args?:any[],coverBefore?:boolean,jumpFrame?:boolean):void;这个函数开启一个游戏主循环,这是如果caller.$_GID是1,method.$_TID是500000,那么this._map会存入一个500001的一个key进入,随着游戏玩的时间越来越长功能也越多的情况下,当再次...

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

166. laya.ui.Button_API3.0 [ 42%]

...te(this,onClickButton,[button],false);//设置 button 的点击事件处理函数。 Laya.stage.addChild(button);//将此 button 对象添加到显示列表。 } function onClickButton(button) { console.log("按钮被点击了。",button); } example import Button=laya.ui.Button; import Handler=laya....

来源: Laya3.0_api 发布时间: 20231115

167. 【简单跑酷--JS版】---Lv.5 玩家踩地板 [ 41%]

...- 32 * 2 - 32 * parseInt(10 * Math.random()); //创建一个帧循环处理函数 // Laya.timer.frameLoop(1, this, this.onLoop); } //在地板上面添加物品 _proto.addItem = function(){ } //获取当前地板上面的所有物品 _proto.getItems = function(){ return ; } _proto.onLoop = function(...

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

168. 【简单跑酷--JS版】---Lv.2 类之间的引用以及背景滚动实现 [ 41%]

...为onLoaded方法是所有预加载资源都加载完毕的时候执行函数//从资源来表中获取加载好的background图片纹理 var texture = Laya.loader.getRes('res/background.png'); //创建一个bg显示对象 var bg = new laya.display.Sprite(); //将上面的texture纹理绘制到bg...

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

169. laya.ui.CheckBox_API3.0 [ 40%]

...lickHandler Defined in laya/ui/Button.ts:628 对象的点击事件处理器函数(无默认参数)。 implements Returns Handler Inherited from Button.clickHandler Defined in laya/ui/Button.ts:632 对象的点击事件处理器函数(无默认参数)。 implements Parameters value: Handler R...

来源: Laya3.0_api 发布时间: 20231115

170. laya.ui.TextInput_API3.0 [ 38%]

...启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Parameters b: boolean Returns void dataSource get dataSource(): any set dataSource(value: any): void Inherited from UIComponent.dataSource Defined in laya/ui/UIComponent.ts:134 implements 数据赋值,通过...

来源: Laya3.0_api 发布时间: 20231115