大约有 2,837 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0090 秒)
Laya_社区(1676) Laya3.0_api(668) Laya2.0_文档(133) Laya2.0_api(128) laya_api(122) Laya3.0_文档(83) Laya2.0_示例(16) Laya_示例(11)
...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所示。 ![图...
来源: Laya2.0_文档 发布时间: 20210715
...小游戏如何使用ttf字体? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 使用钢体设置防穿后仍有几率会穿透 问题状态 最新活动: 2017-03-31 15:18 浏览: 4215 关注: 3 人
来源: Laya_社区 发布时间: 20170331
...ay = [ { url: "res/atlas/lobby/create_room.atlas", type: Laya.Loader.ATLAS }, ....... ]; let createGameScene = () => { Laya.stage.width = 1218; ...
来源: Laya_社区 发布时间: 20181208
...写位图字体加载和使用的代码。 完整代码如下所示: ```typescript import { ui } from "./ui/layaMaxUI"; //继承BitmapFont的ui场景类 export default class AllText extends ui.examples.text.BitmapFontUI { //给自己注册的字体起个名 private fontName: string = "diyFont"; co...
来源: Laya2.0_文档 发布时间: 20210715
...Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Clip }) public clip: Laya.Clip; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.clip.pos(Laya.stage.width >> 1, Laya.stage.height &...
来源: Laya3.0_文档 发布时间: 20251010
...itFlag __init__ changeVertexDefine shaderValueInit Legend Class Class with type parameter Constructor Property Accessor Object literal Variable Function Type alias Inherited property Inherited method Inherited accessor Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...changeVertexDefine shaderValueInit Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Method Inherited property Inherited method Inherited accessor Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...载。 LayaAirIDE2.0 下载地址:https://ldc2.layabox.com/layadownload/?type=layaairide ## 二、用LayaAirIDE创建TS项目 首次打开LayaAir IDE,可以创建一个示例项目,IDE在创建时会自动生成结构清晰的目录结构,我们将在这介绍 LayaAir IDE创建项目的流...
来源: Laya2.0_文档 发布时间: 20210715
... any = null 用于指定初始化的元素数目,或者用于初始化的TypedArray对象、ArrayBuffer对象。如果为 null ,则预分配一定的内存空间,当可用空间不足时,优先使用这部分内存,如果还不够,则重新分配所需内存。 Returns Byte Properties St...
来源: Laya3.0_api 发布时间: 20231115
...在创建场景后预览报错: 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