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

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

11. 输入设备-地图 [ 90%]

...ction() { Laya.init(Browser.width, 255); Laya.stage.scaleMode = Stage.SCALE_NOSCALE; createDom(); initMap(); createInfoText(); var successHandler = new Handler(this, updatePosition); var errorHandler = new Handler(this, onError); // 使用高精度位置 Geolocation.enableHighAccuracy = true; Geoloc...

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

12. 动画模型异常 [ 89%]

...unity运行正常,导入laya2.13.2运行角色模型变形 附件 : --> BUG_demo.zip LayaAirUnityPlugin_2.13_.2beta_.zip BlockyCustomCharacter.zip 2022-11-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 layabox...

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

13. 输入设备-地图 [ 89%]

...目开发更高效。let map, marker, mapDiv, infoText; class InputDevice_Map { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Geolocation = Laya.Geolocation; // 不支持WebGL时自动切换至Canvas Laya.init(Browser....

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

14. js继承模式 [ 88%]

...totype.init = function() { console.log(this); }; return Class; })(); } var __extends = (this && this.__extends) || function(d, b) { for (var p in b) { (b.hasOwnProperty(p)) && (d[p] = b[p]); } function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.p...

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

15. 我看到这段话后,我 [ 88%]

...变了label",size:14},checkbox2:{selected:true,x:10}};     */     __getset(0,__proto,'dataSource',function(){         return this._dataSource;         },function(value){         this._dataSource=value;         for (var prop in this._dataSource){        ...

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

16. TextInput有禁用中文输入法的功能吗? [ 87%]

...到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自:         static public const TYPE_TEXT:String = "text";         /** password 类型用于密码域输入。*/         static public const TYPE_PASSWORD:String = "password";     ...

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

17. HTMLDivElement中image标签多次赋值报错 [ 87%]

....clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; setup(); })(); function setup() { createParagraph(); // 代码创建 } function createParagraph() { var p = ne...

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

18. 对象池 · LayaAir3.0文档 · LAYABOX [ 86%]

...rn 对象池。 */ static getPoolBySign(sign: string): any[] { return Pool._poolDic[sign] || (Pool._poolDic[sign] = []); } Laya.Pool 是通过对象类型标识符,也就是一个字符串名字来标识和管理对象池的。如果对象池系统中没有这个标识,那么会创建一个标...

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

19. 批量创建图片后,怎样通过索引删除图片 [ 86%]

...到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 你创建的 cardimg[i]就可以获取   http://ldc.layabox.com/doc/?nav=zh-as-3-2-7 删除资源   或者销毁: /**          * <p>销毁此对象。destroy对象默认会把自己从...

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

20. 如何获取HTMLDivElement对象的文本值 [ 84%]

...的链接 提交 2 个回复 hwemail 赞同来自:                 _html.innerHTML = value;                 var txt:String = "";                 var tTxt:String;                 var tHTMLElement:HTMLElement;                 for(var i:int = 0,n:...

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