大约有 329 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0043 秒)
...图集内资源报错。 MsgMgr.instance.init(); Laya.timer.once(1000,this,function():void{ beginLoad(); }); private function beginLoad():void { Laya.loader.load("res/images/rank.json", Handler.create(this, onLoaded)); } private function onLoaded():void { trace("加载成功"); var c:Image = new Ima...
来源: Laya_社区 发布时间: 20180830
...mport laya.display.Text; public class HelloLayabox extends Sprite { public function HelloLayabox() { trace("Hello,World"); //创建舞台,默认背景色是黑色的 Laya.init(600, 300); return; var txt:Text = new Text(); //设置文本内容 txt.text = "Hello Layabox"; //设置文本颜色为白...
来源: Laya_社区 发布时间: 20180824
...List_expand(){ Laya.SingletonList.prototype["_remove"] = function(index){ // @xd added, 如果index == -1 不执行 if(index == -1){ return; } ...
来源: Laya_社区 发布时间: 20190618
...ameThirdScriptError CANNON is not defined;at api readFile success callback function ReferenceError: CANNON is not defined 官方大大能不能帮忙看看原因啊,谢谢了,很急 2018-06-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...
来源: Laya_社区 发布时间: 20180601
...:VM1049:1 gameThirdScriptError undefined;at api request success callback function undefined Charles • 2018-09-03 09:54 而且我看sendAtlasToOpenDataContext这个方法并没有处理纹理的程序在啊,只有处理json或者atlas的程序。
来源: Laya_社区 发布时间: 20180831
...t read property '_geometry' of undefined;at requestAnimationFrame callback function TypeError: Cannot read property '_geometry' of undefined求教怎么回事!!! 2019-09-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交...
来源: Laya_社区 发布时间: 20190904
...,Handler.create(this,onTweeed)) onTween就是你的缓动完成后的回调function 2017-01-04 0 2 分享 微博 QZONE 微信 匿名用户 赞同来自: function begingame(){ console.log("开始游戏"); var Tween = Laya.Tween; gamebox.x = Laya.Browser.width; gamebox.v...
来源: Laya_社区 发布时间: 20170104
...n element contentBelow is a rendering of the page up to the first error." (function() { var Stage = Laya.Stage; var Text = Laya.Text; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(200, 300, WebGL); Laya.stage.alignV = "middle"; Laya.stage.ali...
来源: Laya_社区 发布时间: 20171113
...错: Uncaught TypeError: Cannot read property 'parent' of null at Function.Scene._sortScenes (file:///E:/laya3dProject/BY3D/bin/h5/BY3D.max.js:68570:8) 附件 : --> 2018-09-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...
来源: Laya_社区 发布时间: 20180913
...吗? 上下文: /** * @private * 分析文本换行。 */ protected function parseLines(text:String):void { //自动换行和HIDDEN都需要计算换行位置或截断位置 var needWordWrapOrTruncate:Boolean = wordWrap || this.overflow == HIDDEN; if (needWordWrapOrTruncate) { var wordWrapWidt...
来源: Laya_社区 发布时间: 20190213