大约有 1,732 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0055 秒)
Laya_社区(615) Laya3.0_api(482) Laya2.0_文档(180) Laya_示例(146) Laya2.0_示例(116) Laya2.0_api(67) laya_api(64) Laya3.0_文档(62)
...ls Only exported Menu Globals "laya/loaders/TextureLoader" Texture2DLoader Class Texture2DLoader Hierarchy Texture2DLoader Implements IResourceLoader Index Constructors constructor Methods load Constructors constructor new Texture2DLoader(): Texture2DLoader Defined in laya/loaders/TextureLoader.ts:2...
来源: Laya3.0_api 发布时间: 20231115
... 分完之后代码上要写什么?我按模块 src/core 下 module core class datahelper{}然后 var co = new core.datahelper(); 认不到啊 fishkuro • 2017-03-25 11:26 怎么弄啊,我src/core 下 module core class datahelper{}然后 var co = new core.datahelper(); 认不到啊
来源: Laya_社区 发布时间: 20170324
...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Tween_TimeLine { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya...
来源: Laya2.0_示例 发布时间: 20241002
...t laya.ui.List; import laya.utils.Handler; import laya.webgl.WebGL; public class Bootstrapper extends Sprite { protected var _list:List; protected var _items:Array; protected var _loadingBg:Sprite; public function Bootstrapper() { Laya.init(696, 1118, WebGL); Laya.stage.bgColor = "#232628"; Laya.sta...
来源: Laya_社区 发布时间: 20170323
... All Inherited Externals Only exported Menu Globals "laya/d3/math/Ray" Ray Class Ray Ray 类用于创建射线。 Hierarchy Ray Index Constructors constructor Properties direction origin Methods at Constructors constructor new Ray(origin: Vector3, direction: Vector3): Ray Defined in laya/d3/math/Ray...
来源: Laya3.0_api 发布时间: 20231115
...ly exported Menu Globals "laya/components/Animation2DNext" Animation2DNext Class Animation2DNext Hierarchy Animation2DNext Index Constructors constructor Properties conditions name Constructors constructor new Animation2DNext(): Animation2DNext Defined in laya/components/Animation2DNext.ts:7 Returns...
来源: Laya3.0_api 发布时间: 20231102
...非你的代码有问题 代码如下 输出结果为 1 // 程序入口 class LayaSample{ private static aa:Child; private static bb:Child; constructor() { Laya.init(600,400); this.init(); } private init(){ LayaSample.aa = new Child(); LayaSample.aa.num("1"); LayaSample.bb = new Child(); LayaSamp...
来源: Laya_社区 发布时间: 20180729
...unction (_super){ function Building(params) { Building.super(this); } Laya.class(Building,"Building",_super); return Building; })(Laya.Sprite) //床 var Bed = (function (_super){ function Bed(params) { Bed.super(this); } Laya.class(Bed,"Bed",Building); return Bed; })() var HomeView = (funct...
来源: Laya_社区 发布时间: 20171106
...编译后相同的类出现另一个带$1后缀的新类 比如一个类叫class A,编译后的bundle.js里面出现一个class A的类,没有问题,但是还会出现一个 class A$1的类,怎么回事? 附件 : --> 2019-10-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...
来源: Laya_社区 发布时间: 20191012
...rted Menu Globals "laya/d3/resource/models/MorphTarget" MorphTargetChannel Class MorphTargetChannel Hierarchy MorphTargetChannel Index Constructors constructor Properties name targetCount Methods addTarget getTargetByIndex Constructors constructor new MorphTargetChannel(): MorphTargetChannel Defined...
来源: Laya3.0_api 发布时间: 20231115