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

大约有 3,008 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0062 秒)

2751. 分享:Laya开发TS项目使用pomelo客户端SDK(pomelo-jsclient-websocket) [ 38%]

...就几个函数,自行扩展另说,拿我自己的先抛个砖declare class PomeloClient { init(params:any, cb?:Function); request(route:string, msg?:any, cb?:Function); notify(route:string, params:any); on(event:string, cb:Function); off(event:string, cb:Function); disconnect(); } 我也是初...

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

2752. Laya.Pool用法 [ 38%]

...r :Terry        * Created: 2017-08-07 09:44:25      */     export class ProtoPool {         private static _dic: Laya.Dictionary;         public static PROTO_HEAD: string = "proto_Head";         public static PROTO_BINARY_REQUEST: string = "proto_BinaryRequest";         publ...

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

2753. 项目做了一周.然后打不开了.怎么办? [ 38%]

...ron-browser/workbench.main.js:95787 [Extension Host] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation d.logExtensionHostMessage @ /E:/laya/ide/LayaAirIDE_1.7.15/resources/app/out/vs/workbench/electron-browser/workbench.mai...

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

2754. laya.d3.core.light.LightSprite_API3.0 [ 38%]

...ls Only exported Menu Globals "laya/d3/core/light/LightSprite" LightSprite Class LightSprite deprecated LightSprite 类用于创建灯光的父类。 Hierarchy Sprite3D LightSprite DirectionLight PointLight SpotLight Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFR...

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

2755. 路径显示会添加DrawCall,每增加一条路径都会添加,有什么办法降DrawCall [ 38%]

...t laya.utils.Handler; import ui.TestDialogUI; import ui.TestViewUI; public class TestView extends TestViewUI { private var PATH_LEN:Number = 120.0; private var speed:Number = 15; private var _path:Sprite = new Sprite(); private var _path2:Sprite = new Sprite(); private var arr:Array = ; private var ...

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

2756. laya.media.SoundNode [ 38%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames SoundNodeProperties | Methods | Events Packagelaya.mediaClasspublic class SoundNodeInheritanceSoundNode Sprite Node EventDispatcher ObjectPublic Properties Hide Inherited Public Properties Show Inherited Public Properti...

来源: laya_api 发布时间: 20170422

2757. 碰撞检测 outHitInfo.distance 一直等于 -1 ?(TS代码) [ 38%]

...s.outHitInfo.distance 一直等于-1?  -------------------------------- class RoleControlScript extends Laya.Script{ /*角色模型*/ public roleModel:Laya.Sprite3D; /*角色动画组件*/ public roleAni:Laya.Animator; /*角色当前动作*/ public currentAction:string = "stand"; /*角色动画...

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

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

...  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

2759. 抖音小游戏 · LayaAir3.3 · 引擎文档 · LAYABOX [ 38%]

...,方法与web发布略有不同,加载代码示例如下: const { regClass, property } = Laya; @regClass() export class Script extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } /** * 组件被激活后执...

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

2760. laya.ui.TextArea [ 38%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames TextAreaProperties | Methods | Events Packagelaya.uiClasspublic class TextAreaInheritanceTextArea TextInput Label UIComponent Sprite Node EventDispatcher Object TextArea 类用于创建显示对象以显示和输入文...

来源: Laya2.0_api 发布时间: 20190513