• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,911 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0058 秒)

2791. 内存优化方式(TypeScript-2D进阶篇(TS)-性能优化) [ 39%]

...ttps://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=Utils&class=laya.utils.Pool),用于对象的存贮、重复使用。比较常用的是`对象池创建`方法`getItemByClass()`与`回收到对象池`方法`recover()`。 如图1-1、图1-2所示。 ![1](...

来源: Laya2.0_文档 发布时间: 20210715

2792. ViewStack属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 39%]

...ttps://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.ViewStack)。 ## 2、通过LayaAirIDE创建ViewStack组件 ### 2.1 创建ViewStack页面 #### 2.1.1 准备美术资源 准备好页面背景图以及需要切换的页面美术资源,放到...

来源: Laya2.0_文档 发布时间: 20210715

2793. LayaAir IDE 1.4.0新增功能 附加(扩展)脚本的使用 [ 39%]

...游戏:HTMLDivElement的使用 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) ide 2.4 layaair2-cmd 编译报错 问题状态 最新活动: 2016-11-10 17:38 浏览: 5127 关注: 9 人

来源: Laya_社区 发布时间: 20161014

2794. 设置遮罩(TypeScript-LayaAir基础篇(TS)-位图) [ 39%]

...ttps://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=display&class=laya.display.Sprite) API内,该属性的说明如图1所示: ![1](img/1.jpg)(图1) ## 二、简单的遮罩示例 ### 2.1 我们先用LayaAir引擎显示一张位图 创建一个`MaskD...

来源: Laya2.0_文档 发布时间: 20210715

2795. Unity3D插件介绍(ActionScript-3D基础(AS3)-LayaAir3D之Unity插件使用) [ 39%]

...插件下载地址:[插件地址](https://ldc2.layabox.com/layadownload/?type=layaairide-LayaAir%20IDE%202.0.0) ,跳转到下载链接,如图1所示。 ![](img/1.png)(图1) #### 安装导出插件 ​ 启动unity,新建个项目,并导入游戏需要的资源与材质、贴图等,项目名...

来源: Laya2.0_文档 发布时间: 20200620

2796. laya.maths.Matrix4x4_API3.0 [ 39%]

...tempVector0 _tempVector1 _tempVector2 _tempVector3 Legend Class Class with type parameter Constructor Property Method Object literal Variable Function Type alias Static property Static method Enumeration Interface

来源: Laya3.0_api 发布时间: 20231115

2797. 下拉选项框组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 39%]

...内,可显示的最大行数(最多选项数) 滚动条类型 scrollType 下拉选项列表的滚动类型,只可以设置:无滚动、垂直方向滚动 滚动条皮肤 scrollBarSkin 下拉选项列表的滚动条图像资源,只可以设置垂直滚动条皮肤 默认选项索引 selec...

来源: Laya3.0_文档 发布时间: 20251010

2798. laya.d3.math.Vector3_API3.0 [ 39%]

...nate transformQuat transformV3ToV3 transformV3ToV4 Legend Class Class with type parameter Constructor Property Method Object literal Variable Function Type alias Static property Static method Enumeration Interface

来源: Laya3.0_api 发布时间: 20231102

2799. unity 新建场景,预览报错。 [ 39%]

...在创建场景后预览报错: MissingReferenceException: The object of type 'SkinnedMeshRenderer' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destroy the object. n.a (UnityEngine.SkinnedMeshRenderer A_0, System.String ...

来源: Laya_社区 发布时间: 20210607

2800. 复选框组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 39%]

...Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.CheckBox }) public checkbox: Laya.CheckBox; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.checkbox.pos(300, 300); // this.checkbox.sele...

来源: Laya3.0_文档 发布时间: 20251010