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

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

2291. Spine渲染器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 49%]

...的运行时库版本。 代码动态添加的示例如下: const { regClass, property } = Laya; @regClass() export class Demo extends Laya.Script { spine: Laya.Spine2DRenderNode; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void ...

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

2292. laya.particle.ParticleSetting [ 49%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ParticleSettingProperties | Methods Packagelaya.particleClasspublic class ParticleSettingInheritanceParticleSetting Object ParticleSettings 类是粒子配置数据类 Public Properties PropertyDefined By  ageAddScale...

来源: Laya2.0_api 发布时间: 20190513

2293. 求助,屏幕旋转后滚动条没有跟随旋转 [ 49%]

...求助,屏幕旋转后滚动条没有跟随旋转 module dialog { export class WanF extends ui.dialog.WanFUI { constructor() { super(); this.rotation = 90; this.pos(1060, 280); let panel = new Laya.Panel(); panel.size(638, 527); panel.vScrollBarSkin = "CommDialog/vscroll.png"; this.sp_wanfa.addChi...

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

2294. 请问怎么制作一个layabox js版本的加载效果 [ 49%]

...s$bar.png"], Handler.create(this, onLoadComplete)); } console.log(1); Laya.class(Loadings,"Loadings",_super); function onLoadComplete() { progressBar = new ProgressBar("./comp/progress.png"); progressBar.width = 400; progressBar.x = (Laya.stage.width - progressBar.width) / 2; progressBar.y = Laya.st...

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

2295. 高级应用-实时阴影 [ 49%]

... mat = layaMonkey.getChildAt(0).getChildAt(0).skinnedMeshRender.material; }class RealTimeShadow { private _quaternion: Laya.Quaternion = new Laya.Quaternion(); private scene: Laya.Scene; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = La...

来源: Laya_示例 发布时间: 20251219

2296. 导出的3D资源加载报错 [ 49%]

...laya.events.Event;     import laya.utils.Stat;          public class LayaSample {                  private var _stateMachine:StateMachine;         public function LayaSample()         {             Laya3D.init(1000, 500,true); //适配模式 La...

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

2297. Laya3D场景加载问题 [ 49%]

...载问题 测试内容:加载3D场景   代码如下: export default class TestUI extends ui.test.TestSceneUI {     private resource: Array<String> = [         "gate/Conventional/Test.ls",     ];     constructor() { super(); }     onAwake(): void {         Laya.loader.crea...

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

2298. 这种进度条怎么实现? [ 49%]

...信 Barry Allen 赞同来自:  import Sprite = Laya.Sprite export default class Test extends Sprite{ public DEF_SIZE: number = 200 public CIRCLE_WIDTH: number = 20 public $circleSprite: Sprite = new Sprite() public startY: number = -90 constructor() { super() this._init() } private _init() { this.c...

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

2299. exception info:[TypeError:undefined is not an object(evaluating'tInfo[0].attributes')] at line 764 [ 49%]

...为object层,层级设置无效的问题 Laya2.1.0 JS调用Java PlatformClass undefined Uncaught TypeError: Cannot read property 'props' of undefined 运行报错 Uncaught Can not find scene:GameView.scene undefined Warning!,this class[MiniAdpter] already exist: Object {init: } 鼠标自定义样...

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

2300. 急急急,如何设置按钮点击加载ani [ 49%]

...aths.Rectangle;     import laya.display.Stage;          public class LayaUISample {         private var skin:String = "https://layaair.ldc.layabox.co ... 3B%3B         private var aniPath:String = "https://layaair.ldc.layabox.co ... 3B%3B         public function L...

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