大约有 1,071 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0049 秒)
...Child(m_talkScroll); // this.onAction(); // this.onAction = function(){ // console.log("-------------hhhhhhhhhhh "); // } //第一种解决方法 onAction(); function onAction(){ console.log("这是第一种解决方法"); } //第二种解决方法 this.onAction(); } Laya.class(NpcLayer,"NpcLayer",_...
来源: Laya_社区 发布时间: 20171127
... flag ? true : false; return ele.localToGlobal(point, flag); } console.log(box); var targetXY = Utils.localToGlobal(box, false); console.log(targetXY) 附件 : --> 2017-11-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...
来源: Laya_社区 发布时间: 20171102
...等待响应...\n"; Laya.stage.addChild(logger); } onHttpRequestError(e) { console.log(e); } onHttpRequestProgress(e) { console.log(e); } onHttpRequestComplete(e) { logger.text += "收到数据:" + hr.data; } } new Network_POST();module laya { import Stage = Laya.Stage; import Text = Laya.Text; im...
来源: Laya2.0_示例 发布时间: 20251130
...等待响应...\n"; Laya.stage.addChild(logger); } onHttpRequestError(e) { console.log(e); } onHttpRequestProgress(e) { console.log(e); } onHttpRequestComplete(e) { logger.text += "收到数据:" + hr.data; } } new Network_GET();module laya { import Stage = Laya.Stage; import Text = Laya.Text; imp...
来源: Laya2.0_示例 发布时间: 20251130
... // lv.addChild(sp); // console.log("添加预制体"); // })); self.camera = scene3d.getChildByName("--- ENVIRONEMENT ---").getChildByName("Main Camera"); self.scene = scen...
来源: Laya_社区 发布时间: 20220506
...一个测试代码,压根就没有功能。 class Main { constructor() { console.log(Laya.Browser.width, Laya.Browser.height); this.current = { x: 0, y: Laya.Browser.height }; // Laya.stage.bgColor = "#3F51B5"; this.sp = new Laya.Sprite(); Laya.stage.addChild(this.sp); } render() { console.log("re...
来源: Laya_社区 发布时间: 20180602
...t;undefined") { friendRankList.destroy(); delete (friendRankList); // console.log(friendRankList); } friendRankList = new FriendRankListView(); // friendRankList.visible =false Laya.stage.addChild(friendRankList); var dataT = []; data.forEach((item, index) => { // console.log(item) var cupIm...
来源: Laya_社区 发布时间: 20180516
...} updateListItem(cell: BagItem, index: number):void{ console.log("3333333333333"); if (cell.useBtn.clickHandler == undefined) { cell.useBtn.on("click", this, this.onItemUse, [index]); } } onItemUse(index):void{ ...
来源: Laya_社区 发布时间: 20170310
...create(this, function(){ }), Laya.Handler.create(this, function(e){ console.log(e) } , Laya.Loader.ATLAS); 此时进度e的值只有一个数0.41 ,不会从0到1,这是什么原因? 2018-01-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...
来源: Laya_社区 发布时间: 20180101
...,ios插在mac上,xcode可以看日志 189*****192 • 2017-06-21 10:23 console.log(xxx);
来源: Laya_社区 发布时间: 20170621