大约有 1,751 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0085 秒)
Laya_社区(1103) Laya2.0_文档(182) Laya3.0_api(114) Laya2.0_api(105) Laya2.0_示例(83) Laya_示例(70) laya_api(64) Laya3.0_文档(30)
...次方图集区别在哪? var 与 name 的详细区别是什么? Laya.Handler.create和new Laya.Handler有啥区别 1.7.20beta有bug,帧属性面板打不开 lh文件内meshSprite添加阴影属性无效 问一下使用AnimationPlayer播放龙骨动画的时候,播放速率和播放时长区...
来源: Laya_社区 发布时间: 20180625
... Laya.Accelerator; var Point = Laya.Point; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; function Segment(width, height) { Segment.super(this); Segment.prototype.init = function() { this.graphics.drawRect(-height / 2, -height / 2, width + height, height, "#FF7F50");...
来源: Laya_示例 发布时间: 20260820
...。 */ public function load(url:*, complete:Handler = null, progress:Handler = null, type:String = null, priority:int = 1, cache:Boolean = true, group:String = null, ignoreCache:Boolean = false):LoaderManager { 你可以根据加载回调进行相应的判断,加载失...
来源: Laya_社区 发布时间: 20180502
...cene.Scene; import laya.d3.math.Vector3; import laya.utils.Handler; import laya.display.Stage; import laya.events.Event; import laya.utils.Stat; public class LayaSample { private var _stateMachine:Stat...
来源: Laya_社区 发布时间: 20190416
..., type: Loader.ATLAS }, ]; Laya.loader.load(atlas, Handler.create(this, this.onLoaded), Handler.create(this, this.onLoading, null, false)); 3、注入JSvar js:any = Laya.loader.getRes("res/atlas/choujiang.js"); Browser.window.eval(js); 4、运行JS var ChouJiang = Browser.win...
来源: Laya_社区 发布时间: 20180511
... true; list.itemRender = BagItem; list.renderHandler = new Handler(this, this.updateListItem); list.selectHandler = new Handler(this, this.onSelect); this.addChild(list); list.array = data; } ...
来源: Laya_社区 发布时间: 20170310
...如果父节点手动设置为false,则不会更改)。 Sprite mouseHandler : Handler单元格鼠标事件处理器(默认返回参数e:Event,index:int)。List mouseThrough : Boolean = false 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检测发生在鼠标事件的捕获...
来源: laya_api 发布时间: 20170929
....ui.Button; import laya.ui.Dialog; import laya.ui.Image; import laya.utils.Handler; import laya.webgl.WebGL; public class DialogCenterClose { private const DIALOG_WIDTH:int = 220; private const DIALOG_HEIGHT:int = 275; private const CLOSE_BTN_WIDTH:int = 43; private const CLOSE_BTN_PADDING:int = 5; ...
来源: Laya_社区 发布时间: 20170706
...r(var i:int=0;i<10;i++) { var btn:Button=new Button(); ....... btn.clickHandler = laya.utils.Handler.create(this,this.onClickButton,[i],false); } this.onClickButton = function(id){ 通过ID 判断点击哪一个按钮! } 189*****192 • 2017-04-26 09:38 @cyqcyqcyq:我明白你的意思 this.emo...
来源: Laya_社区 发布时间: 20170425
...ALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(assets, Laya.Handler.create(this, this.ShowContent)); } ShowContent() { const FontClip = Laya.FontClip; var clipnum= new FontClip(assets[0]); var fontClip = new FontClip(assets[1]); var TestFontClip = new FontClip(assets[1]); var TestClip...
来源: Laya2.0_示例 发布时间: 20260820