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

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

1151. laya.ui.TextArea_API3.0 [ 40%]

...extArea; import laya.utils.Handler; public class TextArea_Example { public function TextArea_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete))...

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

1152. [BUG]刚体约束问题,移动后约束混乱! [ 39%]

...ure2D.load("res/threeDimen/Physics/grass.png", Laya.Handler.create(this, function (tex) {       planeMat.albedoTexture = tex;     }));     //设置纹理平铺和偏移     var tilingOffset = planeMat.tilingOffset;     tilingOffset.setValue(5, 5, 0, 0);     plan...

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

1153. 3D粒子 · LayaAir3.4 · 引擎文档 · LAYABOX [ 38%]

...ath = ""; } Pool.getInstance().ClearGroup("Particle3D@" + root_path, this, function(particle_3d:Particle3D) { particle_3d.Clean(); }); } } 5.2 自定义对象池类 export class Pool { private _poolDic:{[key: string]: any;} = {}; private InPoolSign: string = "__InPool"; constructor() { } private sta...

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

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

...ath = ""; } Pool.getInstance().ClearGroup("Particle3D@" + root_path, this, function(particle_3d:Particle3D) { particle_3d.Clean(); }); } } 5.2 自定义对象池类 export class Pool { private _poolDic:{[key: string]: any;} = {}; private InPoolSign: string = "__InPool"; constructor() { } private sta...

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

1155. laya.d3.core.scene.Scene3D_API3.0 [ 38%]

...s type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...

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

1156. 在LayaIDE中下载的运行器启动报错 [ 37%]

... ImageData is not defined? 导微信小程序报错window.focus is not a function 问题状态 最新活动: 2018-03-21 10:17 浏览: 1229 关注: 2 人 qian • 2018-03-21 10:20 https://ask.layabox.com/question/12521 你可以也看一下这个替换一下文件试一下 qian • 2018-03-21 10:20 ...

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

1157. UI-RefreshList [ 37%]

...aya.loader.load("res/ui/refreshList/ani/refresh.png", Handler.create(this, function(){ this.initView(); })); } initView(){ // 加载并添加场景中需要使用的资源 this.baseBox = new Box(); this.baseBox.width = 443; this.baseBox.height = 622; this.baseBox.pos(30, 28); this.baseBox.bgColor = ...

来源: Laya2.0_示例 发布时间: 20261113

1158. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 36%]

...seEnabled = true; a.mouseThrough = true; a.on(Laya.Event.MOUSE_DOWN, null, function (e: Laya.Event): void {     console.log("touch a"); } 因为需要将mouseThrough=true才可以,蛋疼的api描叙你能相信是这个熟悉么? “mouseThrough : Boolean = false,指定当mouseEnabled=true...

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

1159. LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) [ 29%]

...837 Uncaught TypeError: Cannot read property 'props' of undefined     at Function.Laya3D._getSprite3DHierarchyInnerUrls (libs/laya.d3.js:1837)     at Loader.Laya3D._onHierarchylhLoaded (libs/laya.d3.js:1933)     at EventHandler.__proto.runWith (libs/laya.core.js:1628)     at Loader.__proto.e...

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

1160. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 25%]

...: //设置鼠标弹起事件响应 Laya.stage.on(Event.MOUSE_UP, this, function (): void { //起始和目标点 var start = this.graph.grid[this.startPoint.x][this.startPoint.y]; var end = this.graph.grid[this.endPoint.x][this.endPoint.y]; //调用A* serach方法获得最短路径 this._everyPath ...

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