大约有 93 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0059 秒)
Laya_社区(38) Laya3.0_api(26) Laya_示例(6) Laya2.0_示例(6) laya_api(5) Laya3.0_文档(5) Laya2.0_api(4) Laya2.0_文档(3)
...xternals Only exported Menu Globals "laya/map/TileAniSprite" TileAniSprite Class TileAniSprite TildMap的动画显示对象(一个动画(TileTexSet),可以绑定多个动画显示对象(TileAniSprite)) author ... Hierarchy Sprite TileAniSprite Index Constructors constructor Properties ...
来源: Laya3.0_api 发布时间: 20231115
...,建议用脚本方式实现,比如子弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { private mat1: Laya.BlinnPhongMaterial; private newScene: Laya.Scene3D; private sMapRes = "remote/model/res/Conventional/map1.ls" private sBullRes = "remote/model/res/Conventional/bull....
来源: Laya_社区 发布时间: 20200720
... at Function.eof (http://127.0.0.1:53462/game/code.js:93141:69) at Class (http://127.0.0.1:53462/game/code.js:93649:37) at Type.get (http://127.0.0.1:53462/game/code.js:98613:48) at Type.create (http://127.0.0.1:53462/game/code.js:98776:20) at onAssetsLoaded (http://127.0.0...
来源: Laya_社区 发布时间: 20180302
...t中使用本地能力 下面是一个推荐做法: //Script.ts @Laya.regClass() class Script extends Laya.Script { wantToUseNode() { EditorEnv.scene.runScript("TestSceneScript.visitNode"); } } //TestSceneScript.ts import fs from "fs"; //注意是IEditorEnv.regClass,不是Laya.regClass!! @IEdito...
来源: Laya3.0_文档 发布时间: 20250214
...型项目回调 /** * 创建时间 2017/04/16 */ module PomeloLaya{ export class Pomelo{ static DEBUG:boolean = true; static EVENT_IO_ERROR:string = "io-error"; static EVENT_CLOSE:string = "close"; static EVENT_KICK:string = "onKick"; static EVENT_HEART_BEAT_TIMEOUT:string = 'heartbeat timeout'; pri...
来源: Laya_社区 发布时间: 20180119
...直接处理即可。 接收字符串数据的完整示例: const { regClass } = Laya; @regClass() export class WebSocketDemo extends Laya.Script { private socket: Laya.Socket; //组件被启用后执行,例如节点被添加到舞台后 onEnable(): void { this.socket = new Laya.Socket(); // 注...
来源: Laya3.0_文档 发布时间: 20250214
...rnals Only exported Menu Globals "laya/d3/core/material/Material" Material Class Material Material 类用于创建材质。 Hierarchy Resource Material PixelLineMaterial UnlitMaterial BlinnPhongMaterial PBRMaterial SkyBoxMaterial SkyProceduralMaterial ShurikenParticleMaterial TrailMaterial SkyPanora...
来源: Laya3.0_api 发布时间: 20231115
... Globals "laya/d3/core/material/unlit/UnlitTestMaterial" UnlitTestMaterial Class UnlitTestMaterial Hierarchy Material UnlitTestMaterial Implements IClone Index Constructors constructor Properties destoryedImmediately lock name renderQueue url uuid ALPHATESTVALUE DEBUG RENDERQUEUE_ALPHATEST RENDERQUE...
来源: Laya3.0_api 发布时间: 20231102
... Menu Globals "laya/d3/core/pixelLine/PixelLineMaterial" PixelLineMaterial Class PixelLineMaterial PixelLineMaterial 类用于实现像素线材质。 Hierarchy Material PixelLineMaterial Implements IClone Index Constructors constructor Properties _id destroyedImmediately lock name renderQueue url u...
来源: Laya3.0_api 发布时间: 20231115
...xported Menu Globals "laya/d3/core/material/EffectMaterial" EffectMaterial Class EffectMaterial EffectMaterial 类用于实现Mesh特效材质。 Hierarchy Material EffectMaterial Implements IClone Index Constructors constructor Properties _id destroyedImmediately lock name renderQueue url uuid ALPH...
来源: Laya3.0_api 发布时间: 20231115