大约有 310 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0043 秒)
Laya_社区(147) Laya2.0_文档(45) Laya_示例(35) Laya2.0_示例(32) Laya3.0_文档(17) Laya3.0_api(16) Laya2.0_api(11) laya_api(7)
...GL); var txtName = new laya.display.Text(); txtName.fontSize = 20; txtName.color = "#ffffff"; txtName.align = "center"; txtName.stroke = 2; txtName.text = "设置全局字体无效"; Laya.stage.addChild(txtName); 2017-12-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20171227
...de() { Laya.init(0, 0, WebGL); Laya.stage.scaleMode = "full"; Laya.stage.bgColor = "#232628"; //自动横屏,游戏的水平方向始终与浏览器屏幕较短边保持垂直 Laya.stage.screenMode = "horizontal"; //自动竖屏,游戏的水平方向始终与浏览器屏幕较长边保持垂直 ...
来源: Laya2.0_文档 发布时间: 20210714
...ton); this.text=new Laya.Text(); Laya.stage.addChild(this.text); this.text.color="#00ff00"; this.text.fontSize=30; Laya.stage.addChild(this.text); Laya.stage.on(Laya.Event.MOUSE_DOWN,this,this.changeAction); } tActionID:number=0; changeAction() { this.tActionID++; var aniCount:number; //获取动画...
来源: Laya2.0_文档 发布时间: 20210715
...ize:20px; line-height:38px; font-family:"微软雅黑"; color:#000; text-align:justify; text-justify:inter-ideograph; -webkit-text-align-last:justify;/*chrome 20+*/ -moz-text-align-last:justify;/*ff*/ } 2018-01-03 0 0 分享 微博 QZONE 微信 Lay...
来源: Laya_社区 发布时间: 20180103
...blic/Protected All Inherited Externals Only exported Menu Globals "laya/ui/ColorPicker" ColorPicker Class ColorPicker ColorPicker 组件将显示包含多个颜色样本的列表,用户可以从中选择颜色。 example 以下示例代码,创建了一个 ColorPicker 实例。 package { import l...
来源: Laya3.0_api 发布时间: 20231115
...age.addChild(skeleton); text = new Text(); Laya.stage.addChild(text); text.color = "#00ff00"; text.fontSize = 30; Laya.stage.addChild(text); Laya.stage.on(Event.MOUSE_DOWN, this, changeAction); } private var tActionID:int=0; private function changeAction():void { tActionID++; var aniCount:int; //获...
来源: Laya2.0_文档 发布时间: 20210715
...ra.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.clearColor = null; //方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.direction = new Laya.Vector3(1, -1, -1); //平面 var plane = sc...
来源: Laya_示例 发布时间: 20251209
...ext(); multiLangText.pos(0, 0); multiLangText.fontSize = 50; multiLangText.color = "#ffffff"; multiLangText.multiLang("^BTN_SET", false); Laya.stage.addChild(multiLangText); 附件 : --> 2018-12-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20181205
...tage.height); txt.pos(10, 10); txt.fontSize = 30; txt.wordWrap = true; txt.color = "#FF9632"; Laya.stage.addChild(txt); var test:Object = JSON.parse('{"id": 0, "name": "Chen"}'); traceMsg(test['id']); traceMsg(test['name']); var jsonURL:String = "res/json/config.json"; traceMsg("加载: " + jsonURL)...
来源: Laya_社区 发布时间: 20180227
...treeItem", "width": "150", "left": "33", "height": "22", "name": "label", "color": "#ffff00", "right": "0", "x": "33"}}, {"type": "Clip", "props": {"x": "0", "name": "arrow", "y": "5", "skin": "ui/clip_tree_arrow.png", "clipY": "2"}}], "type": "Box", "props": {"name": "render", "right": "0", "left":...
来源: Laya_示例 发布时间: 20251209