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

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

521. [BUG]刚体约束问题,移动后约束混乱! [ 39%]

...建议用脚本方式实现,比如子弹脚本。  */ export default class GameUI extends ui.test.TestSceneUI {   private newScene:Laya.Scene3D;   private boxA: Laya.MeshSprite3D;   constructor() {     super();     Laya3D.init(0, 0);     Laya.stage.scaleMode = Laya....

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

522. Laya2自动同步cullingMask方案以及灯光裁剪补丁 [ 38%]

...相机进行。因此务必保持与摄相机相同。 **/ export default class ExtCullingMask { public static enableLightCullingMask(scene: Laya.Scene3D) { //var proto = Laya.Scene3D.prototype as any; (scene as any).lightCullingMask = function (scene, camera) { //灯光处理开始 麒麟子添加 ...

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

523. laya.ui.Tree [ 37%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames TreeProperties | Methods | Events Packagelaya.uiClasspublic class TreeInheritanceTree Box UIComponent Sprite Node EventDispatcher ObjectImplements IRender Tree 控件使用户可以查看排列为可扩展树的层次...

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

524. 网络通信 · LayaAir3文档 · LAYABOX [ 37%]

...备发送请求的功能。我们写个简单的例子来看下用法: class LayaSample { constructor() { //创建HttpRequest对象 let http: Laya.HttpRequest = new Laya.HttpRequest(); //设置超时时间 http.http.timeout = 10000; //发送了一个简单的请求 http.send("resources/data.txt", ...

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

525. HttpRequest详解(JavaScript-LayaAir基础篇(JS)-数据与通信) [ 36%]

...n HttpRequestExtension() { HttpRequestExtension.__super.call(this); } Laya.class(HttpRequestExtension, 'HttpRequestExtension', _super); var __proto = HttpRequestExtension.prototype; __proto.send = function (url, data, method, responseType, headers) { (method === void 0) && (method = "get"); (respons...

来源: Laya2.0_文档 发布时间: 20210714

526. app构建IOS包 进入游戏提示加载游戏失败,可能由于你的网络不稳定,请退出重进 [ 34%]

...由于你的网络不稳定,请退出重进 Xcode 日志 : objc[2531]: Class JSWTFMainThreadCaller is implemented in both /System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore and /var/containers/Bundle/Application/2CBB02B7-1D05-4CF4-A68D-59337C781979/ZhuaWawa.app/ZhuaWawa. One of t...

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

527. ts加密md5码封装 [ 33%]

...3456"); console.log(str) //len:32 //e10adc3949ba59abbe56e057f20f883emd5.ts class Md5 { private static _inst:Md5; public static get Instance():Md5 { return this._inst ||(this._inst = new Md5()); } public get_md5(str:string):string { return this.md5(str); } split(target: string | any[], step: number, ...

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

528. 背景音乐来回切换报错 [ 33%]

...gt;>>>>>>>>>>>>>>>>>>className:layaair.game.utility.LayaAudioMusic,methodName:stopBackgroundMusic 07-16 13:28:21.072 1331-1384/com.layabox.game E/LayaBox: >>>>>>>>>>>>before 07-16 13:28:21.112 1331-1384/com.l...

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

529. laya.ui.List [ 33%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ListProperties | Methods | Events Packagelaya.uiClasspublic class ListInheritanceList Box UIComponent Sprite Node EventDispatcher ObjectImplements IRender, IItem List 控件可显示项目列表。默认为垂直方向...

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

530. 微信小游戏中不能加载proto文件 [ 32%]

...  at Function.eof (http://127.0.0.1:34822/game/code.js:52215:69)     at Class (http://127.0.0.1:34822/game/code.js:52729:37)     at Type.get (http://127.0.0.1:34822/game/code.js:57693:48)     at Type.create (http://127.0.0.1:34822/game/code.js:57856:20)     at Proto.EncodeMessage (http://12...

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