大约有 1,249 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0055 秒)
Laya_社区(1122) Laya2.0_文档(34) Laya3.0_文档(28) Laya3.0_api(19) laya_api(13) Laya_示例(13) Laya2.0_api(13) Laya2.0_示例(7)
...ted Externals Only exported Menu Globals "laya/d3/WebXR/core/WebXRGamepad" ButtonGamepad Class ButtonGamepad 类用来描述gamepad Button Hierarchy EventDispatcher ButtonGamepad Index Constructors constructor Properties handness index EVENT_PRESS_ENTER EVENT_PRESS_OUT EVENT_PRESS_STAY EVENT_PRESS_V...
来源: Laya3.0_api 发布时间: 20231115
...lt;!-- 1. Define some markup --> <div>hello world</div> <button class="btn" data-clipboard-action="copy" data-clipboard-target="div">Copy</button> <!-- 2. Include library --> <script src="../src/Frame/ThirdLibs/clipboard.min.js"></script> <!-- 3. I...
来源: Laya_社区 发布时间: 20180626
... export default class LoginScene extends Laya.Scene{ public btnReg:Laya.Button; public btnLogin:Laya.Button; constructor(){ super(); this.btnLogin.on(Laya.Event.CLICK,this,()=>{ console.log('btnLogin click') }) } createChildren(){ super.createChildren(); this.loadScene('LoginScene'); } ...
来源: Laya_社区 发布时间: 20190402
... 3.module.def文件目录跟换到根目录 但是我自定义的ScaleButton的属性在IDE里无法显示,仅显示laya.customUI.xml里的属性,从而无法设置中心点,导致按钮缩放有问题。然而,官方教程里的ScaleButton是有其他属性的! 2017-02-22 0 1 分享 ...
来源: Laya_社区 发布时间: 20170221
...ype++; this._castType %= 2; switch (this._castType) { case 0: (e.target as Button).label = "释放显存"; this.loadScene(); break; case 1: (e.target as Button).label = "加载场景"; if (this._scene)//_scene不为空表示场景已加载完成 this.garbageCollection(); break; } /** * @private 销...
来源: Laya2.0_文档 发布时间: 20210715
两个问题都关于LayaAir的ios真机 碰到个问题,Button组件我稍微改了下,为了实现按下的时候有个变暗的效果 statenum是1的按钮, /** * 对象的 <code>Event.MOUSE_OVER、Event.MOUSE_OUT、Event.MOUSE_DOWN、Event.MOUSE_UP、Event.CLICK</code> 事件...
来源: Laya_社区 发布时间: 20160802
...= "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():void { trace("资源加载完成!"); var comboBox:ComboBox = new ComboBox("resource/ui/button.png", "item0,item1,item2,...
来源: Laya3.0_api 发布时间: 20231115
...d { _castType++; _castType %= 2; switch (_castType) { case 0: (e.target as Button).label = "释放显存"; loadScene(); break; case 1: (e.target as Button).label = "加载场景"; if (_scene)//_scene不为空表示场景已加载完成 garbageCollection(); break; } /** * @private 销毁场景并且...
来源: Laya2.0_文档 发布时间: 20210715
...ype++; this._castType %= 2; switch (this._castType) { case 0: (e.target as Button).label = "释放显存"; this.loadScene(); break; case 1: (e.target as Button).label = "加载场景"; if (this._scene)//_scene不为空表示场景已加载完成 this.garbageCollection(); break; } /** * @private 销...
来源: Laya2.0_文档 发布时间: 20210715
.../10.0.0.114:8900/bin/index.html 然后我在view里面隐藏了两个button,作为改变 用命令 layadcc D:/work/native_test/bin 打包 运行之前的基础apk,然后还是显示旧的view(也就是那两个button依然可见) 另外 还经常出现 05-10 18:07:04.156: I/LayaBox(883...
来源: Laya_社区 发布时间: 20170510