大约有 443 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0062 秒)
...通过这个API来关联骨骼节点(linkSprite3DToAvatarNode(nodeName: string, sprite3D: Sprite3D): boolean;) 2018-11-09 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 子言 相关问题 unity导出粒子文件问题 Layabox 2....
来源: Laya_社区 发布时间: 20181109
...------------------------ module AM{ export class AC { public static myname:string = "I'm AC!"; } } export default AM; b.ts ---------------------------- module AM{ export class BC { public static myname:string = "I'm BC!"; } } export default AM; c.ts -------------------------- import AM from './a'; /...
来源: Laya_社区 发布时间: 20181026
... private mDecorate:Decorate;//装饰器 private mHost: string; private mPort: number; private mConnected: boolean; /** 开启*/ public static OPEN: string = "open"; /** 关闭*/ public static CLOSE: string = ...
来源: Laya_社区 发布时间: 20161109
...e> 。 **</p> */ public static var create:Function = function(src:String, def:* = null):HTMLImage { return new HTMLImage(src, def); } tobe • 2018-07-02 17:35 @Laya_Aaron:额,这里第一句话是 创建一个实例,new HTMLImage.create()的话不是new 那个实例了是不是呢 Laya...
来源: Laya_社区 发布时间: 20180702
...: function (res) { wx.shareAppMessage({ imageUrl: res.tempFilePath, title: string }) } }); 注意:sp 可以是Laya.image 或者laya.sprite 2018-05-18 2 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 ₩ 相关问题 分享:LayaAir...
来源: Laya_社区 发布时间: 20180517
... */ public static function clearTextureRes(url:String):void { 2018-04-25 0 0 分享 微博 QZONE 微信 w1114367261 赞同来自: 你是针对Texture清理的吗? 2018-04-25 0 3 分享 微博 QZONE 微信 w1114367261 赞同来自: 直接调用Loader的clearRes传一个...
来源: Laya_社区 发布时间: 20180425
用iframe内嵌网页及适配 Laya.init(720, 1280); String.prototype.format = function() { if (arguments.length == 0) { return this; } for (var str = this, index = 0; index < arguments.length; ++index) { str = str.replace("{" + index + "}", arguments[index]); } return str; }; var iframe = laya....
来源: Laya_社区 发布时间: 20170415
...Laya里面对于对象的支持也就只有一个getObjectByName(objName:String):GridSprite,确实是可以取到指定的GridSprite,但是通过对象命名,这就要求我在TiledMap中给对象一一命名。但是我是想做一个横版跑酷游戏,里面要布置大量的金币,给...
来源: Laya_社区 发布时间: 20161228
... * @return 创建的节点对象的引用。 */ static createElement(type: string): any { Browser.__init__(); return Browser._document.createElement(type); } /** * 返回 Document 对象中拥有指定 id 的第一个对象的引用。 * @param type 节点id。 * @return 节点对象。 */ static ge...
来源: Laya3.0_文档 发布时间: 20251010
...Canvas(100, 100, 0, 0); var ct:*= canvas.getContext("2d").canvas; var bs64:String = ct.toDataURL (); 会报错,提示 getContext 不可访问,请问如何解决? 2017-05-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20170513