大约有 1,120 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0062 秒)
Laya_社区(896) Laya2.0_文档(164) Laya3.0_文档(17) Laya3.0_api(14) Laya2.0_示例(10) Laya_示例(7) Laya2.0_api(7) laya_api(5)
...在项目中展示动效模板的效果 创建一个`Mian.js`文件,在index.html中引用。编写以下代码: ```javascript //初始化引擎 Laya.init(1334,750); //设置舞台背景色 Laya.stage.bgColor = "#ffffff"; //加载图集资源,加载成功后将UI界面添加到舞台上 Laya.l...
来源: Laya2.0_文档 发布时间: 20210715
...请参考 [VScrollBar API](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.VScrollBar)。 VScrollBar 组件的图像资源示例:  (图1)  (图2) 。 ComboBox 组件的图像资源示例:  (图1) 设置 ComboBox 的属性 labels 的值为 “label1,lab...
来源: Laya2.0_文档 发布时间: 20210714
API DocumentationAll Packages | All Classes | Index | Frames No Frames InputProperties | Methods | Events | Constants Packagelaya.displayClasspublic class InputInheritanceInput Text Sprite Node EventDispatcher Object Input 类用于创建显示对象以显示和输入文本。 Input 类...
来源: laya_api 发布时间: 20170929
...ocation基础文档或Geolocation API文档。** > 在开始之前需要在index.html中引入百度地图的脚本文件,这个url在百度地图的官方网站可以免费获取到。演示中使用的url是[http://api.map.baidu.com/api?v=2.0&ak=LIhOlvWfdiPYMCsK5wsqlFQD8wW4Bfy6](http://api.map.b...
来源: Laya2.0_文档 发布时间: 20210715
...在项目中展示动效模板的效果 创建一个`Mian.ts`文件,在index.html中引用。编写以下代码: ```typescript class Main { constructor() { //初始化舞台 Laya.init(1334,750); //设置舞台背景色 Laya.stage.bgColor = "#ffffff"; //加载图集资源,加载成功后将UI...
来源: Laya2.0_文档 发布时间: 20210715
...个release文件夹。 资源路径要指向的是这个文件夹下,和index.html同级的路径。我是JS项目,路径为“xxx\release\web” 希望对大家有帮助~~折腾了2个小时的路过…… 2018-10-13 0 3 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 怎么打包的 ?...
来源: Laya_社区 发布时间: 20180808
...绍请参考 [Button API](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Button)。 ### 1.2.使用LayaAirIDE创建Button 使用LayaAirIDE创建Button更加简单,通过IDE的可视化操作,完全不需要程序基础,即可实现...
来源: Laya2.0_文档 发布时间: 20210714
...n/bash path=`pwd` cmd="/.actionScriptProperties;iflash=false;outlaya=true" index="/bin/h5/index.html" #此处是LayaAirAS引擎工具所在的路径 cd /home/debuggerx/Documents/LayaAirAS wine laya.js.exe ${path}${cmd} cd $path python TextFilePatchTools.py $path google-chrome --allow-file-access-fro...
来源: Laya_社区 发布时间: 20170418