大约有 279 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0051 秒)
Laya_社区(207) Laya3.0_api(26) Laya2.0_文档(16) Laya3.0_文档(9) Laya2.0_示例(6) Laya_示例(6) laya_api(5) Laya2.0_api(4)
...。(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
...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
...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
...开发更高效。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
...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
... 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
...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
...资源不能恢复。 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
...资源不能恢复。 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
...资源不能恢复。 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