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

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

821. 启动画面LoadingView · LayaAir3.3 · 引擎文档 · LAYABOX [ 47%]

...载界面 为了方便开发者,自定义LoadingView,LayaNative使用原生功能实现的新的LoadingView。 应用程序在启动的时候,需要加载必要的html、js、图片,这个时候就需要通过加载界面显示进度,LayaNative在运行项目的时候,默认有一个Load...

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

822. laya.physics.joint.JointBase_API3.0 [ 47%]

...int get joint(): any Defined in laya/physics/joint/JointBase.ts:18 [只读]原生关节对象 Returns any Methods _initialize _initialize(): void Inherited from Component._initialize Defined in laya/components/Component.ts:56 Returns void _setOwner _setOwner(node: Node): void Inherited from Componen...

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

823. Socket能连接到服务器,客户端发请求也能收到服务端的数据,但是服务端主动推送数据,客户端就是收不到数据? [ 46%]

...了 2017-07-25 0 1 分享 微博 QZONE 微信 sword2015 赞同来自: 用原生的JS webSocket就可以收到服务器推送的消息 代码如下: var SocketJS={     ws:null,     OnOpenMsg:null,     OnMessage:null,     connect:function(url){         if ('WebSocket' in window) {     ...

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

824. native 1.0.2 连不上wss [ 46%]

...连上socket的,app里面就连不上 (简单起见这里直接使用原生websocket,使用laya封装的socket效果一样)   xcode部分日志如下: game[3393:1312918] WebSocket::init m_host: login.huanxi.twbuyu.com, m_port: 27777, m_path: / NOTICE: Initial logging level 7 NOTICE: Libwe...

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

825. LayaFlash项目如何进行LayaPlayer版本测试? [ 46%]

... 分享 微博 QZONE 微信 layabox 赞同来自: 基于canvas\webGL\DOM的原生HTML5开发项目,在适当的调整后,也可以被​LayaPlayer运行器支持的。但是建议采用LayaFlash或LayaAir引擎开发,会获得更优的效果 2015-10-28 0 0 分享 微博 QZONE 微信 一听 赞...

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

826. laya.net.HttpRequest_API3.0 [ 45%]

...et http(): any Defined in laya/net/HttpRequest.ts:199 本对象所封装的原生 XMLHttpRequest 引用。 Returns any url get url(): string Defined in laya/net/HttpRequest.ts:187 请求的地址。 Returns string Methods event event(type: string, data?: any): boolean Inherited from EventDispatcher....

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

827. laya.net.Socket_API3.0 [ 45%]

...除了 Event.MESSAGE 事件参数为数据内容,其他事件参数都是原生的 HTML DOM Event 对象。 Parameters host: string 服务器地址。 port: number 服务器端口。 Default value isSecure: boolean = false 是否使用WebSocket安全协议wss,默认(false)使用普通协议w...

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

828. laya.physics.joint.GearJoint_API3.0 [ 44%]

...from JointBase.joint Defined in laya/physics/joint/JointBase.ts:18 [只读]原生关节对象 Returns any ratio get ratio(): number set ratio(value: number): void Defined in laya/physics/joint/GearJoint.ts:42 两个齿轮角速度比例,默认1 Returns number Defined in laya/physics/joint/GearJoin...

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

829. 性能统计与优化 · LayaAir3.3 · 引擎文档 · LAYABOX [ 44%]

...性能优化。合理运用好引擎,可以让游戏等引擎产品达到原生APP的体验。如果开发者不能发挥好引擎的优势,那么游戏最终的性能体验或将无从谈起。因此,在制作游戏过程中,掌握游戏以及引擎的优化技巧还是非常有必要的。...

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

830. laya.physics.joint.PulleyJoint_API3.0 [ 43%]

...from JointBase.joint Defined in laya/physics/joint/JointBase.ts:18 [只读]原生关节对象 Returns any Methods _initialize _initialize(): void Inherited from Component._initialize Defined in laya/components/Component.ts:56 Returns void _setOwner _setOwner(node: Node): void Inherited from Componen...

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