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

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

241. 微信小游戏 · LayaAir3.4 · 引擎文档 · LAYABOX [ 45%]

... : Laya.Sprite3D; @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { //小游戏加载分包 Laya.loader.loadPackage("sub1", this.printProgr...

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

242. 组件装饰器说明 · LayaAir3.4 · 引擎文档 · LAYABOX [ 45%]

...tends Laya.Script { @property({ type: Laya.Sprite3D }) sp3: Laya.Sprite3D; constructor() { super(); } onEnable() { console.log("Game onStart", this.sp3.name); } } 除非有特别的需求,我们并不建议这样做,一方面是因为静态物体更有利于IDE内进行编辑。另一方面是...

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

243. 自定义场景继承导出,会在自定义类中加入Laya.前缀导致layaMaxUI文件报错 [ 45%]

...end:Laya.Button;         public btnClose:Laya.Button;         constructor(){ super()}         createChildren():void {             super.createChildren();             this.createView(GmPanelUI.uiView);         }     } }   2.0之前版本,是不...

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

244. laya.map.TileAniSprite_API3.0 [ 45%]

...象(TileAniSprite)) author ... Hierarchy Sprite TileAniSprite Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blend...

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

245. 位图字体的制作与使用(TypeScript-LayaAir基础篇(TS)-文本) [ 45%]

... //给自己注册的字体起个名 private fontName: string = "diyFont"; constructor() {super();} onAwake(): void { //加载位位图字体 this.loadBitmapFont(); } /** * 实例化位图字体类,并加载位图字体 */ loadBitmapFont(): void { let bitmapFont: Laya.BitmapFont = new Laya.BitmapF...

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

246. laya.html.dom.HTMLIframeElement_API3.0 [ 45%]

...加载外并解析数据 Hierarchy HTMLDivElement HTMLIframeElement Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name drawtocanvCtx Accessors active activeInHierarchy alpha blendMode cacheAs components contextHeight context...

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

247. laya.d3.core.scene.Scene3D_API3.0 [ 45%]

... 用于实现3D场景。 Hierarchy Sprite Scene3D Implements ISubmit Index Constructors constructor Properties _ShadowMapupdateFrequency _extra _ownGraphics _reflectionsIblSamples _reflectionsResolution _reflectionsSource _scene _sceneUniformData _skinBaseUrl _sundir _url autoSize currentCreationLay...

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

248. laya.map.GridSprite_API3.0 [ 44%]

...类就是地图的块数据 author ... Hierarchy Sprite GridSprite Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url aniSpriteArray autoSize drawImageNum hitTestPrior isAloneObject isHaveAnimation mouseThrough name relativeX relativeY tag drawtocanvCtx Accessors ...

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

249. LayaAir2.0(LayaBox)之小游戏开放域开发 [ 44%]

...%80%E5%8F%91/image-20190307200032836.png?lastModify=1551962708class Main { constructor() { //设置子域 Laya.isWXOpenDataContext = true; Laya.isWXPosMsg = true; //根据IDE设置初始化引擎 Laya.init(GameConfig.width, GameConfig.height,false); Laya.stage.scaleMode = GameConfig.scaleMode; Laya....

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

250. laya.html.dom.HTMLDivElement_API3.0 [ 44%]

... "adivspanspan2p"; Hierarchy Sprite HTMLDivElement HTMLIframeElement Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name drawtocanvCtx Accessors active activeInHierarchy alpha blendMode cacheAs components contextHeight contex...

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