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

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

41. laya.d3.core.trail.TrailSprite3D_API3.0 [ 78%]

...ng Inherited from Node.tag Defined in laya/display/Node.ts:62 节点标签 Static LIGHTMAP LIGHTMAP: number Inherited from RenderableSprite3D.LIGHTMAP Defined in laya/d3/core/RenderableSprite3D.ts:21 着色器变量名,光照贴图。 Static LIGHTMAPSCALEOFFSET LIGHTMAPSCALEOFFSET: number Inherite...

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

42. Laya2.4版本,场景为内嵌时layaMaxUI类没有声明场景的Button等控件? [ 78%]

... export module ui { export class GameSceneuiUI extends Laya.Scene { public static uiView:any ={"type":"Scene","props":{"width":720,"height":1280},"compId":2,"child":[{"type":"Button","props":{"y":616,"x":296,"skin":"comp/button.png","name":"butStart","label":"label"},"compId":3}],"loadList":["comp/b...

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

43. Laya2.4版本,场景为内嵌时layaMaxUI类没有声明场景的Button等控件? [ 78%]

...port class GameSceneuiUI extends Laya.Scene {         public static  uiView:any ={"type":"Scene","props":{"width":720,"height":1280},"compId":2,"child":[{"type":"Button","props":{"y":616,"x":296,"skin":"comp/button.png","name":"butStart","label":"label"},"compId":3}],"loadList":["co...

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

44. 分包后, 资源加载问题 [ 78%]

...indow,document,Laya){ console.log("kk1") var __un=Laya.un,__uns=Laya.uns,__static=Laya.static,__class=Laya.class,__getset=Laya.getset,__newvec=Laya.__newvec; console.log("kk2") var FrameAnimation=laya.display.FrameAnimation,Sprite=laya.display.Sprite,Text=laya.display.Text; console.log("kk22") var V...

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

45. 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 [ 78%]

...码如下 输出结果为 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(); LayaSample.bb.num("2"); setTimeout(f...

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

46. 3D粒子 · LayaAir3.3 · 引擎文档 · LAYABOX [ 78%]

...子特效的路径,创建一个粒子特效,从对象池里拿一个 static Create(path: string): Particle3D { var ret:Particle3D = Pool.getInstance().getItemByClass("Particle3D@" + path, Particle3D); ret.Init(path); return ret; } //粒子特效初始化 private Init(file_path:string): void { if...

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

47. 3D粒子编辑模块 · LayaAir3文档 · LAYABOX [ 78%]

...子特效的路径,创建一个粒子特效,从对象池里拿一个 static Create(path: string): Particle3D { var ret:Particle3D = Pool.getInstance().getItemByClass("Particle3D@" + path, Particle3D); ret.Init(path); return ret; } //粒子特效初始化 private Init(file_path:string): void { if...

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

48. 列表组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 78%]

...log("当前选择的索引:" + index); } } class Item extends Laya.Box { static WID: number = 373; static HEI: number = 85; private img: Laya.Image; constructor() { super(); this.size(Item.WID, Item.HEI); this.img = new Laya.Image(); this.addChild(this.img); } setImg(src: string): void { this.img....

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

49. RopeJoint代码动态创建 无法设置otherbody [ 77%]

...2022-04-09 15:53 */ export default class fruit extends Laya.Script {     static Fru:fruit;     public rope:Laya.RopeJoint     constructor() {         super();        fruit.Fru=this;             }      onAwake() {         let rig:Laya.RigidBody=this.owner.getComponent(Laya....

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

50. laya.d3.core.pixelline.PixelLineSprite3D_API3.0 [ 77%]

...ng Inherited from Node.tag Defined in laya/display/Node.ts:62 节点标签 Static LIGHTMAP LIGHTMAP: number Inherited from RenderableSprite3D.LIGHTMAP Defined in laya/d3/core/RenderableSprite3D.ts:21 着色器变量名,光照贴图。 Static LIGHTMAPSCALEOFFSET LIGHTMAPSCALEOFFSET: number Inherite...

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