大约有 175 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0042 秒)
Laya_社区(129) Laya2.0_文档(18) laya_api(7) Laya2.0_示例(7) Laya3.0_文档(6) Laya3.0_api(3) Laya_示例(3) Laya2.0_api(2)
...dy放到特定容器(Sprite),並對容器使用ScrollRect捲動時,Static type RigidBody的貼圖會錯位,但 Collider碰撞都正常,只有顯示異常 若改用容器的x, y進行座標偏移,會出現殘影,顯示仍然有問題 若不用容器,直接對 stage做scrollRect顯...
来源: Laya_社区 发布时间: 20181215
... downLoadFile 等不能使用。 在 LayaAir.d.ts 中的 MiniAdpter 添加 static downLoadFile(fileUrl:string, fileType:string, callBack:Handler, encoding:string) 声明,在使用的时候,报错。 ReferenceError: wx is not defined at Function.<anonymous>(file:///D:work/laya/laya3D/bin/li...
来源: Laya_社区 发布时间: 20180605
...t rigid:Laya.RigidBody = panel.addComponent(Laya.RigidBody); rigid.type = 'static'; } 产生的效果是boll1会自由落体,但不会与挡板发生物理碰撞而是直接穿过挡板(如图1),请问要如何修改代码。 图1 附件 : --> 2019-04-28 添加评论 悬赏 --> 分享 微...
来源: Laya_社区 发布时间: 20190428
...this.destroy(); } public static function getTextTexture(w:int, h:int):TextTexture { return new TextTexture(w, h); } 2020-11-23 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要...
来源: Laya_社区 发布时间: 20190515
... @date 2017-02-26 */ public class MsgMgr { /**共享画布类型**/ public static var SHAREDRESIZE:String = "sharedresize"; private static var _i:MsgMgr = null; public function MsgMgr() { super(); } public static function get instance():MsgMgr { return _i ||= new MsgMgr(); } /**初始化消息监听...
来源: Laya_社区 发布时间: 20180525
...llJs"] = function(msg,data){ }.bind(this);然后,Java这边: public static void callToJs(int msg, JSONObject data) { StringBuilder cmd = new StringBuilder("window.natvieCallJs("); cmd.append(msg); cmd.append(','); cmd.append(data); cmd.append(')'); Log.d("JSBridge", "callToJs:" + cmd); ConchJ...
来源: Laya_社区 发布时间: 20190515
... // protected _getTextureByUrl(url: string): string; // static parseAnimationData(aniData: any): any; // } } T15_UITest.zip 2017-08-17 0 0 分享 微博 QZONE 微信 asdf131 赞同来自: import Button = laya.editorUI.Button; 还发现这个有时引不进来!! 2017-...
来源: Laya_社区 发布时间: 20170817
....as发现仅当statusCode为200时才会触发回调,源码如下 public static function downFiles(fileUrl:String, encoding:String = "ascii", callBack:Handler = null, readyUrl:String = "",isSaveFile:Boolean = false,fileType:String = "",isAutoClear:Boolean =true):void { var downloadTask:* = wxdown(...
来源: Laya_社区 发布时间: 20180924
.../**解决因为卡顿在多点触摸期间导致的bug*/ private static SingletonList_expand(){ Laya.SingletonList.prototype["_remove"] = function(index){ // @xd added, 如果index == -1 不执行 if(index == -1){ ...
来源: Laya_社区 发布时间: 20190618
...ram originURL 源路径。 * @return 格式化后的新路径。 */ public static function addVersionPrefix(originURL:String):String { if (manifest && manifest[originURL]) { if (type == FILENAME_VERSION) return manifest[originURL]; return manifest[originURL] + "/" + originURL; } return origi...
来源: Laya_社区 发布时间: 20181127