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

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

251. 区块地图-滚动地图 [ 38%]

...。(function() { var Stage = Laya.Stage; var Event = Laya.Event; var TiledMap = Laya.TiledMap; var Rectangle = Laya.Rectangle; var Browser = Laya.Browser; var Handler = Laya.Handler; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var tiledMap; var mLastMouseX = 0; var mLastMouseY = 0; var mX = 0; var...

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

252. 两个物体 ,如果在update里修改其中一个物体的rotationEuler,会触发另一个物体的onTriggerEnter回调 [ 38%]

...te mat1: Laya.BlinnPhongMaterial; private newScene: Laya.Scene3D; private sMapRes = "remote/model/res/Conventional/map1.ls" private sBullRes = "remote/model/res/Conventional/bull.lh" private sEnemyRes = "remote/model/res/Conventional/man_1.lh" constructor() { super(); let self = this; Util3d.loadRes...

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

253. 微信环境下面Laya.Browser.window.protobuf.load不能读取本地的proto文件 [ 38%]

...urn Function.apply(null, keys.concat("return " + source)).apply(null, keys.map(function(key) { return scope[key]; })); // eslint-disable-line no-new-func 出来这个错误: WAGame.js:3 gameThirdScriptError Cannot read property 'apply' of undefined;at api readFile success callback function TypeErr...

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

254. 区块地图-滚动地图 [ 38%]

...开发更高效。let mLastMouseX = 0, mLastMouseY = 0, mX, mY; class TiledMap_ScrollMap { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Event = Laya.Event, Stat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, We...

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

255. 定时器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 35%]

...er(caller, method); if (handler && handler.method != null) { this._map[handler.key] = null; handler.run(true); } } 使用示例如下: const { regClass } = Laya; import { RuntimeScriptBase } from "./RuntimeScript.generated"; @regClass() export class RuntimeScript extends RuntimeScriptBase ...

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

256. 构建apk后,java报错 [ 32%]

... Exit handlePackageModified 2018-11-26 18:35:10.156 1632-1632/? D/BluetoothMapAppObserver: onReceive 2018-11-26 18:35:10.156 1632-1632/? D/BluetoothMapAppObserver: The installed package is: com.layabox.dotJourney 2018-11-26 18:35:10.156 2476-2649/? I/WakelockPolicyManager: setWakelockPolicy 2018-11-...

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

257. socket大型项目回调 [ 25%]

...a.Socket = null; private callbacks:any = {}; private handlers:any = {}; // Map from request id to route private routeMap = {}; private heartbeatInterval:number = 0; private heartbeatTimeout:number = 0; private nextHeartbeatTimeout:number = 0; private gapThreshold:number = 100; private heartbeatId:an...

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

258. laya.d3.core.material.Material_API3.0 [ 25%]

...资源不能恢复。 Returns void effectiveProperty effectiveProperty(): Map<string, ShaderDataType> Defined in laya/d3/core/material/Material.ts:534 get all material uniform property Returns Map<string, ShaderDataType> event event(type: string, data?: any): boolean Inherited from Event...

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

259. laya.d3.core.material.unlit.UnlitTestMaterial_API3.0 [ 23%]

...资源不能恢复。 Returns void effectiveProperty effectiveProperty(): Map<string, ShaderDataType> Inherited from Material.effectiveProperty Defined in laya/d3/core/material/Material.ts:558 get all material uniform property Returns Map<string, ShaderDataType> event event(type: string,...

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

260. laya.d3.core.pixelline.PixelLineMaterial_API3.0 [ 22%]

...资源不能恢复。 Returns void effectiveProperty effectiveProperty(): Map<string, ShaderDataType> Inherited from Material.effectiveProperty Defined in laya/d3/core/material/Material.ts:534 get all material uniform property Returns Map<string, ShaderDataType> event event(type: string,...

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