大约有 1,252 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0043 秒)
Laya2.0_文档(638) Laya_社区(377) Laya3.0_文档(226) laya_api(3) Laya_示例(2) Laya3.0_api(2) Laya2.0_示例(2) Laya2.0_api(2)
...改名为“layabox.ttf”,放到该目录下。如图1所示:  **Tips:** 模板工程默认是内嵌了ttf字体,这样会导致apk体积增加,如果你比较在乎apk大小,可以删除assets/font/layabox.ttf这个字体文件。 ## 3.iOS嵌入字体 1、LayaNative支...
来源: Laya2.0_文档 发布时间: 20210714
...单栏` 中点击-->【`视图`】 --> 【`重置面板`】。  ## 自定义界面 ### 一、调整面板大小: 将鼠标悬浮到两个面板之间的边界线上,看到鼠标指针发生变化后,就可以按下鼠标来修改相邻两个面板的大小。如动图1...
来源: Laya2.0_文档 发布时间: 20210715
...`` 在chrome中运行之后按快捷键F12,结果如下图所示:  从图中我们可以看到刚才的数据都存储进去了 下面我们对这些数据进行清除,代码如下所示: ```java Laya.LocalStorage.removeItem("data");//清除指定键值数据 ``` 通过添加...
来源: Laya2.0_文档 发布时间: 20210715
...`回收到对象池`方法`recover()`。 如图1-1、图1-2所示。  (图1)对象池创建方法  (图2)回收到对象池方法,将使用的对象放回对象池中。 #### 1.2 使用对象池优化的示例 以下代码演示每隔100帧使用对象池方...
来源: Laya2.0_文档 发布时间: 20210715
...34.shtml](http://qqgame.qq.com/app/gamedetail_10434.shtml)  图(1)《疯狂雪球》 ### 第二款《上吧主公》 (曾用名三国喵喵传)是行业首款卡牌策略类HTML5大型游戏,上线时间为2013年,HTML5版台湾版权金达到300万,APP版本...
来源: Laya2.0_文档 发布时间: 20210715
...、一个灰色滤镜效果位图。运行效果如图1所示:  (图1) ## 2、设置发光与阴影滤镜 ### 2.1 发光滤镜 API 简述 发光滤镜类 GlowFilter位于laya.filters包中,通过调整发光的偏移角度也可以当成阴影滤使用,参数说明如图2所...
来源: Laya2.0_文档 发布时间: 20210715
... IOS 本地加载 图片等资源无法加载 在index.html文件中 <img> 标签可以正常显示图片 但通过Laya.Load加载资源全部失败,这是什么原因吗? 附件 : --> 2021-09-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20210917
...,找到其中的`Environment`中的`Environment Lighting`项。 (图1) **Source** 光源选项目前可以使用Skybox和Color两种。 **Ambient Color** 环境光的颜色。设置为Color时的环境光颜色。 **Ambient Mode** 环境模式,只能使用 `Realtime `实时光...
来源: Laya2.0_文档 发布时间: 20210714
...,找到其中的`Environment`中的`Environment Lighting`项。 (图1) **Source** 光源选项目前可以使用Skybox和Color两种。 **Ambient Color** 环境光的颜色。设置为Color时的环境光颜色。 **Ambient Mode** 环境模式,只能使用 `Realtime `实时光...
来源: Laya2.0_文档 发布时间: 20210715
...组件。在创建好对象之后,选择Add Component -- Physics 。 (图1) 可以在Physics选项面板中,选择添加Rigidbody和Collider (图2) 关于Rigidbody和Collider的参数设置这里不做过多介绍。在添加和设置完成就可以直接导出使用...
来源: Laya2.0_文档 发布时间: 20210715