大约有 1,515 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0049 秒)
Laya_社区(1204) Laya2.0_文档(80) Laya3.0_api(75) Laya_示例(42) Laya2.0_示例(40) Laya3.0_文档(33) Laya2.0_api(22) laya_api(19)
...le is not defined. 代码如下: package { import laya.display.Text; public class LayaAirTest { public function LayaAirTest() { Laya.init(600, 300); var txt:Text = new Text(); txt.tex...
来源: Laya_社区 发布时间: 20170429
...ment Index Constructors constructor Properties _attrs name obj space style text type pool Methods fetchAttributes getAttr getAttrBool getAttrFloat getAttrInt getAttrString reset setAttr getFromPool returnToPool Constructors constructor new HtmlElement(): HtmlElement Defined in laya/html/HtmlElement....
来源: Laya3.0_api 发布时间: 20231115
...stroy(destroyChild); this._bitmap && this._bitmap.destroy(); this._text && this._text.destroy(destroyChild); this._bitmap = null; this._text = null; this._clickHandler = null; this._labelColors = this._sources = this._strokeColors = null; }destroy方法,对 _clickHandler 置空处...
来源: Laya_社区 发布时间: 20200514
... getRes出来类型为string 能转换成数组吗 Laya.loader.load("res/text.txt", Handler.create(this, onAssetLoaded1), null, Loader.TEXT); var pic1 = Loader.getRes("res/2D特效/text.txt"); console.log(typeof pic1); 输出的类型为string 2017-06-20 添加评论 免费帖 --> 分享 微博 QZON...
来源: Laya_社区 发布时间: 20170620
...取的用户名(该用户名有emoji表情), 然后赋值到label的text上, 赋值之后我用alert(label.text)显示出来的值是带有emoji表情的,但是label上显示就没有 2017-03-29 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先...
来源: Laya_社区 发布时间: 20170329
... public static var _classMap:Object = {'Sprite': 'laya.display.Sprite', 'Text': 'laya.display.Text','animation': 'laya.display.Animation', 'Animation': 'laya.display.Animation', 'Skeleton': 'laya.ani.bone.Skeleton', 'Particle2D': 'laya.particle.Particle2D', 'div': 'laya.html.dom.HTMLDivElement', 'p'...
来源: Laya_社区 发布时间: 20180312
...src下新建文件HelloWorld.as代码如下package { import laya.display.Text; /** * ... * @author */ public class HelloWorld{ public function HelloWorld(){ //创建舞台 Laya.init(600, 300);//舞台默认背景色是黑色的 var txt:Text = new Text(); txt.text = "Hello, World!"; //设置文本颜...
来源: Laya_社区 发布时间: 20180914
...ts:Array = []; assets.push( { url:"protobuf/user.proto", type:Loader.TEXT } ); assets.push( { url:"protobuf/bag.proto", type:Loader.TEXT } ); Laya.loader.load(assets, Handler.create(this, onAssetsLoaded)); 首先确认下类型是为TEXT吗,如果这样写就是报如...
来源: Laya_社区 发布时间: 20161223
...Enable=false后过一段时间设置mouseWheelEnable=true;无法滚动 var text = new Laya.Text();为什么text.pivot(200,200);不起作用 混合模式作用只是将颜色混合起来吗 movieClip的interval不起作用 请问在微信小游戏里面如何知道用户是否焦点在游戏里面?...
来源: Laya_社区 发布时间: 20161208
...y导出有光照贴图时,出现错误:ArgumentException: Invalid path textinput移除后再添加会将之前的内容全部赋值给全部input unity导出的场景在手机上提示"request:fail invalid url" Failed to load resource: net::ERR_FILE_NOT_FOUND 发布小游戏时提示:[xmldom err...
来源: Laya_社区 发布时间: 20190319