大约有 1,751 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0097 秒)
Laya_社区(1103) Laya2.0_文档(182) Laya3.0_api(114) Laya2.0_api(105) Laya2.0_示例(83) Laya_示例(70) laya_api(64) Laya3.0_文档(30)
...this.bg); // 加载图集资源 Laya.loader.load("res/atlas/war.json",Laya.Handler.create(this,onLoaded),null,Laya.Loader.ATLAS); })(); function onLoaded(){ // 创建一个主角 this.hero = new Role(); // 初始化角色 this.hero.init("hero",0,1,0,30); // 设置射击类型 this.hero.shootType = 1...
来源: Laya_社区 发布时间: 20170525
... toolTip : * 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 UIComponent top : Number 从组件顶边到其内容区域顶边之间的垂直距离(以像素为单位)。 UIComponent transform : Matrix 对...
来源: Laya2.0_api 发布时间: 20190513
...可以指定组件的任意属性进行赋值。 UIComponent defaultTipHandler : Function默认鼠标提示函数TipManager destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node disabled : Boolean 是否禁用页面,设置为true后,会变灰并且禁...
来源: Laya2.0_api 发布时间: 20190513
... "res/building.png", // 你的建筑图片路径 Laya.Handler.create(this, () => { // 加载完成后绘制到building Sprite上 let texture = Laya.loader.getRes("res/building.png"); this.building.graphic...
来源: Laya_社区 发布时间: 20251125
... toolTip : * 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 UIComponent top : Number 从组件顶边到其内容区域顶边之间的垂直距离(以像素为单位)。 UIComponent transform : Matrix 对...
来源: Laya2.0_api 发布时间: 20190513
... toolTip : * 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 Component top : Number 从组件顶边到其内容区域顶边之间的垂直距离(以像素为单位)。 Component transform : Matrix 对象...
来源: laya_api 发布时间: 20170929
...类型是否是鼠标事件。 EventDispatcher load(url:String, complete:Handler):void[static] 加载网格模板。 Sprite3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String ...
来源: Laya2.0_api 发布时间: 20190513
... toolTip : * 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 UIComponent top : Number 从组件顶边到其内容区域顶边之间的垂直距离(以像素为单位)。 UIComponent transform : Matrix 对...
来源: Laya2.0_api 发布时间: 20190513
... toolTip : * 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 Component top : Number 从组件顶边到其内容区域顶边之间的垂直距离(以像素为单位)。 Component transform : Matrix 对象...
来源: laya_api 发布时间: 20170929
...oneTo(destObject:*):void 克隆。 BaseMaterial load(url:String, complete:Handler):void[static] 加载材质。 BaseMaterial setShaderName(name:String):void 设置使用Shader名字。 BaseMaterialProtected Methods Show Inherited Protected Methods Show Inherited Protected Methods MethodDefined By...
来源: Laya2.0_api 发布时间: 20190513