大约有 854 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0062 秒)
Laya_社区(263) Laya3.0_api(263) Laya2.0_api(142) laya_api(119) Laya3.0_文档(34) Laya2.0_文档(28) Laya_示例(3) Laya2.0_示例(2)
...cted function _childChanged(child:Node = null):void Parameters child:Node (default = null)_sizeChanged()method protected function _sizeChanged():voidcommitMeasure()method protected function commitMeasure():void 立即执行影响宽高度量的延迟调用函数。 See alsocallLater()runCallLate...
来源: Laya2.0_api 发布时间: 20190513
...子对象及从父节点移除自己。 Parameters destroyChild:Boolean (default = true) — (可选)是否同时销毁子节点,若值为true,则销毁子节点,否则不销毁子节点。 Mon May 13 2019, 02:40 PM +08:00
来源: Laya2.0_api 发布时间: 20190513
...ide public function close(type:String = null):void Parameters type:String (default = null)createUI()method public function createUI():void根据节点数据创建UIdestroy()method override public function destroy(destroyChild:Boolean = true):void Parameters destroyChild:Boolean (default = true)on...
来源: laya_api 发布时间: 20170929
...n — 要执行的函数的名称。例如,functionName。 args:Array (default = null) — 传递给 method 函数的可选参数列表。 See alsorunCallLater()changeSize()method protected function changeSize():void 重新调整对象的大小。 commitMeasure()method protected function com...
来源: laya_api 发布时间: 20170929
...; switch(type) { default: break; } // this.getFriendData(); this.setlist(this.arr); } 然后 记得编译 素材 Ctrl+F12 和 编译项目 ,最后 发...
来源: Laya_社区 发布时间: 20190307
...ase 1: txt.color = "#ffffff"; break; case 2: txt.color = "#ff0000"; break; default: txt.color = "#eee000"; break; } } /** * 缓动完成后的回调方法 * txt 缓动对象 */ function changeColor(txt){ //将文本字体改变成红色 txt.color = "#ff0000"; } //创建单个字符文本,并加载...
来源: Laya2.0_文档 发布时间: 20210715
...false; this.bg.graphics.drawTexture(this.bgTexture, 0, 0, 960, 96); break; default: //随机计算一个宽度 当然 最小是3倍 以防难度太难 var _w = 32 * (3 + parseInt(19 * Math.random())); this.bg.graphics.clear(); //这里用到了 laya.resource.Texture.createFromTexture 就是根据宽...
来源: Laya_社区 发布时间: 20160801
...化到接口使用的基础流程 */ import Browser = Laya.Browser; export default class GameRecorderMgr { /**录屏实例**/ private _recorder: any; static _instance: GameRecorderMgr; /**视频地址**/ private _videoPath: String = ""; constructor() { GameRecorderMgr.instance = this; //判断是否...
来源: Laya2.0_文档 发布时间: 20210715
...ing = null) 创建一个新的 ScrollBar 实例。 Parameters skin:String (default = null) — 皮肤资源地址。 Method DetailchangeSize()methodoverride protected function changeSize():void 重新调整对象的大小。 createChildren()method override protected function createChildren():void ...
来源: laya_api 发布时间: 20170929
...ase 1: txt.color = "#ffffff"; break; case 2: txt.color = "#ff0000"; break; default: txt.color = "#eee000"; break; } } /** * 缓动完成后的回调方法 * txt 缓动对象 */ private changeColor(txt:Laya.Text):void{ //将文本字体改变成红色 txt.color = "#ff0000"; } //创建单个字符文...
来源: Laya2.0_文档 发布时间: 20210715