大约有 786 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0061 秒)
Laya_社区(386) Laya2.0_文档(85) Laya3.0_api(74) Laya2.0_api(66) laya_api(63) Laya3.0_文档(53) Laya_示例(32) Laya2.0_示例(27)
...17-11-13 16:39 我截图的这个是源码 wudi199553 • 2017-11-13 19:48 class TestUI extends ui.test.TestPageUI { constructor() { super(); } } Laya.init(600, 400); Laya.stage.bgColor = "#FFFFF00"; this.onLoaded(); function onLoaded(): void { var testUI: TestUI = new TestUI(); Laya.stage...
来源: Laya_社区 发布时间: 20171113
...kage ui.test { import laya.display.Sprite; import laya.utils.Tween; public class MyBox extends Sprite { private var _shape:Sprite; public function MyBox() { super(); graphics.drawRect(0,0,200,200,"#00ff00"); _shape=new Sprite(); _shape.graphics.drawCircle(0,0,20,"#ff0000"); addChild(_shape); //加...
来源: Laya_社区 发布时间: 20170124
... cuixueying 赞同来自: lift6220819 请参考下:UI-List 继承用:class方法,譬如Laya.class(Item, "Item", Box); 关于laya.pool的用法,请参考API:Pool 2016-08-30 1 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 lift6220...
来源: Laya_社区 发布时间: 20160830
...var start = (function(_super){ function start(){ start.super(this); } Laya.class(start,"start",_super); //var _proto = Game.prototype; return start; })(ui.startUI) 2018-12-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...
来源: Laya_社区 发布时间: 20181220
...绍请参考 [http://layaair.ldc.layabox.com/api/index.html?category=Core&class=laya.ui.VSlider](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.VSlider)。 ## 2、通过LayaAirIDE创建VSlider组件 ### 1.1 创建VSlider 点击选择...
来源: Laya2.0_文档 发布时间: 20210714
...绍请参考 [http://layaair.ldc.layabox.com/api/index.html?category=Core&class=laya.ui.VSlider](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.VSlider)。 ## 2、通过LayaAirIDE创建VSlider组件 ### 1.1 创建VSlider 点击选择...
来源: Laya2.0_文档 发布时间: 20210714
...ya.Image; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_Clip { private buttonSkin: string = "../../res/ui/button-7.png"; private clipSkin: string = "../../res/ui/num0-9.png"; private bgSkin: string = "../../res/ui/coutDown.png"; private counter: Clip; private currFrame: n...
来源: Laya_示例 发布时间: 20251209
...绍请参考 [http://layaair.ldc.layabox.com/api/index.html?category=Core&class=laya.ui.VSlider](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.VSlider)。 ## 2、通过LayaAirIDE创建VSlider组件 ### 1.1 创建VSlider 点击选择...
来源: Laya2.0_文档 发布时间: 20210715
...Laya1.0中生效,在Laya2.0中不生效 laya中代码:export default class Test { public static onClick():void{ alert("123456"); } public static onClick1():void{ } } 原生中代码:ConchJNI.RunJS("Test.onClick()"); 原生中报错:Reference...
来源: Laya_社区 发布时间: 20190313
...要添加如下的示例代码,实现脚本控制CheckBox: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.CheckBox }) public checkbox: Laya.CheckBox; //组件被激活后执行,此时所有节点和组件均已创建完毕...
来源: Laya3.0_文档 发布时间: 20251010