大约有 193 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0056 秒)
...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
... 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
...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
...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
...码如下 输出结果为 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
...子特效的路径,创建一个粒子特效,从对象池里拿一个 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
...子特效的路径,创建一个粒子特效,从对象池里拿一个 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
...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
...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
...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