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

大约有 2,337 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0067 秒)

481. UI-RefreshList [ 68%]

....Box; List = Laya.List; Handler = Laya.Handler; WebGL = Laya.WebGL; Animation = Laya.Animation; Label = Laya.Label; Text = Laya.Text; Point = Laya.Point; Tween = Laya.Tween; TextArea = Laya.TextArea; class UI_RefreshList { constructor() { this.baseBox = null; this.refreshLoading = null; this.loading...

来源: Laya2.0_示例 发布时间: 20241119

482. http无响应 [ 68%]

...? 单独用在其它文件也是没有反应,  var LoginView = (function (_super) { function LoginView() { LoginView.super(this); //调用父类构造函数 this.dlg; } function connect() { var hr = new Laya.HttpRequest(); hr.once(Event.PROGRESS, this, onHttpRequestProgress); hr.once(Event.COMP...

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

483. 物理引擎-牛顿摆 [ 68%]

...TypeScript三种开发语言、LayaAirIDE让项目开发更高效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Browser = Laya.Browser; var WebGL = Laya.WebGL; var Render = Laya.Render; var stageWidth = 800; var stageHeight = 600; var Matter = Browser.window.Matter; var LayaR...

来源: Laya_示例 发布时间: 20241119

484. 打包app,http无法设置content-type [ 68%]

打包app,http无法设置content-type 我明明设置了content-type为json,在浏览器里都正常,但是在手机运行器里就无法使用,我发的数据为"{"a":1}",到服务器上变成了 "{"a":1}"="",content-type也变成了application/x-www-form-urlencoded   代码如下: static...

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

485. this.bitmap.activeResource is not a function TypeError: this.bitmap.activeResource is not a function [ 68%]

this.bitmap.activeResource is not a function TypeError: this.bitmap.activeResource is not a function if (bitmap&&bitmap._addReference){ bitmap._addReference(); } 这个代码过滤已经加了,但是会报下面这个错 this.bitmap.activeResource is not a function TypeError: this.bitmap....

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

486. laya.d3.resource.RenderTexture_API3.0 [ 68%]

Search Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/resource/RenderTexture" RenderTexture Class RenderTexture Hierarchy BaseTexture RenderTexture RenderTextureCube WebXRRenderTexture Mu...

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

487. worker.js 使用问题 [ 68%]

... 开启后报错如下Uncaught TypeError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': No function was found that matched the signature provided.     at Texture2D.__proto._createWebGlTexture (laya.d3.js:33519)     at Texture2D.__proto.recreateResource (laya.d3.js:33562)     at Te...

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

488. laya.resource.RenderTexture_API3.0 [ 68%]

...ch Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/RenderTexture" RenderTexture Class RenderTexture Hierarchy BaseTexture RenderTexture WebXRRenderTexture RenderTextureCube Imple...

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

489. 如何让发布后的H5加载资源用src或href指向本地路径,而不是网络请求 [ 68%]

...pRequest at 'file:///E:/Game-SuperMary/SuperMary/release/web/res/atlas/option.atlas' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.   load(url) {             var me = thi...

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

490. DOM元素-表单输入 [ 68%]

...种开发语言、LayaAirIDE让项目开发更高效。class DOM_Form { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(600, 400, WebGL); Laya.stage.alignV = Stage.ALIG...

来源: Laya2.0_示例 发布时间: 20241119