大约有 910 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0066 秒)
...载界面 为了方便开发者,自定义LoadingView,LayaNative使用原生功能实现的新的LoadingView。 应用程序在启动的时候,需要加载必要的html、js、图片,这个时候就需要通过加载界面显示进度,LayaNative在运行项目的时候,默认有一个Load...
来源: Laya3.0_文档 发布时间: 20251010
...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
...了 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
...连上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
... 分享 微博 QZONE 微信 layabox 赞同来自: 基于canvas\webGL\DOM的原生HTML5开发项目,在适当的调整后,也可以被LayaPlayer运行器支持的。但是建议采用LayaFlash或LayaAir引擎开发,会获得更优的效果 2015-10-28 0 0 分享 微博 QZONE 微信 一听 赞...
来源: Laya_社区 发布时间: 20151028
...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
...除了 Event.MESSAGE 事件参数为数据内容,其他事件参数都是原生的 HTML DOM Event 对象。 Parameters host: string 服务器地址。 port: number 服务器端口。 Default value isSecure: boolean = false 是否使用WebSocket安全协议wss,默认(false)使用普通协议w...
来源: Laya3.0_api 发布时间: 20231115
...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
...性能优化。合理运用好引擎,可以让游戏等引擎产品达到原生APP的体验。如果开发者不能发挥好引擎的优势,那么游戏最终的性能体验或将无从谈起。因此,在制作游戏过程中,掌握游戏以及引擎的优化技巧还是非常有必要的。...
来源: Laya3.0_文档 发布时间: 20251010
...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