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

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

391. 小游戏项目 加载有中文的json文件 报错 [ 67%]

...null, Loader.JSON); } private static function onJsonLoaded(url:String,data:Object):void { var arr:Array = data.Sheet1; Laya.loader.clearRes(url); } 微信开发者工具中报错 Unexpected token in JSON at position 34;at api readFile success callback function SyntaxError: Unexpected token in JSON a...

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

392. laya.device.media.HtmlVideo_API3.0 [ 67%]

...sources Legend Class Class with type parameter Constructor Property Method Object literal Variable Function Type alias Inherited property Inherited method Inherited accessor Enumeration Interface Static method

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

393. 微信小游戏提审后,提示说代码侵权 [ 67%]

...arr2[i].indexOf(",") !=-1 && arr2[i].indexOf("(") ==-1) continue;//object里面的key value if(arr2[i].indexOf("public ") !=-1 && arr2[i].indexOf("{") ==-1) continue;//属性 if(arr2[i].indexOf("private ") !=-1 && arr2[i].indexOf("{") ==-1) continue;//属性 if(arr2[i].indexO...

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

394. laya.display.cmd.DrawPieCmd [ 67%]

... Packagelaya.display.cmdClasspublic class DrawPieCmdInheritanceDrawPieCmd Object 绘制扇形 Public Properties PropertyDefined By  endAngle : Number 结束角度。 DrawPieCmd  fillColor : * 填充颜色,或者填充绘图的渐变对象。 DrawPieCmd  lineColor : * (可选)边框颜...

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

395. laya.map.TiledMap_API3.0 [ 67%]

...ngeViewPortBySize createMap destroy getLayerByIndex getLayerByName getLayerObject getMapProperties getSprite getTexture getTileProperties getTileUserData mapSprite moveViewPort setViewPortPivotByScale Constructors constructor new TiledMap(): TiledMap Defined in laya/map/TiledMap.ts:144 Returns Tiled...

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

396. laya.d3.webxr.core.WebXRSessionManager_API3.0 [ 67%]

...tFrameRate Legend Class Class with type parameter Property Method Accessor Object literal Variable Function Type alias Enumeration Interface Inherited method Static property

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

397. laya.ui.DialogManager [ 67%]

...ic class DialogManagerInheritanceDialogManager Sprite Node EventDispatcher Object DialogManager 对话框管理容器,所有的对话框都在该容器内,并且受管理器管理。 任意对话框打开和关闭,都会出发管理类的open和close事件 可以通过UIConfig设置弹出框...

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

398. 二进制图片(TypeScript-2D进阶篇(TS)-游戏加载策略) [ 67%]

...ocument.createElement("img"); img.onload = function (e) { window.URL.revokeObjectURL(img.src); // 清除释放; }; img.src = window.URL.createObjectURL(blob); document.body.appendChild(img); } } xhr.send(); ``` 上面这个方法是用了浏览器自身提供的方法来把二进制转换成图片...

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

399. laya.ui.Clip [ 66%]

...lasspublic class ClipInheritanceClip Component Sprite Node EventDispatcher ObjectSubclasses FontClip Clip 类是位图切片动画。 Clip 可将一张图片,按横向分割数量 clipX 、竖向分割数量 clipY , 或横向分割每个切片的宽度 clipWidth 、竖向分割每个切片的高...

来源: laya_api 发布时间: 20170929

400. laya.effect.ButtonEffect_API3.0 [ 66%]

...fect" ButtonEffect backEase effectEase effectScale tweenTime target Legend Object literal Variable Function Type alias Class Class with type parameter Property Enumeration Interface

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