大约有 17 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0068 秒)
...es/ui/combobox.png"; /***下拉列表**/ private var comboBox:ComboBox /***提示信息文本框**/ private var promptText:Text; public function UI_ComboBox() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); //画布垂直居中对齐 Laya.stage.alignV = Stage.ALIGN_MIDDLE; //...
来源: Laya2.0_文档 发布时间: 20210714
... **Tips:** wav和ogg建议使用22050采样率、16bit、单声道。 ## 3.提示信息 如果调用`SoundManager.playSound()`,但是传入的文件格式是mp3,则会弹出提示信息,提示信息如下: `The sound only supports wav or ogg format,for optimal performance reason,please refer...
来源: Laya2.0_文档 发布时间: 20210715
.../../../res/ui/vscroll$down.png", "../../../../res/ui/vscroll$up.png"]; /***提示信息文本框**/ private var promptText:Text; /****垂直滚动条****/ private var vScrollBar:VScrollBar; public function UI_ScrollBar() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); //画...
来源: Laya2.0_文档 发布时间: 20210715
.../../../res/ui/hscroll$down.png", "../../../../res/ui/hscroll$up.png"]; /***提示信息文本框**/ private var promptText:Text; /****水平滚动条****/ private var hScrollBar:HScrollBar; public function UI_ScrollBar() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); //画...
来源: Laya2.0_文档 发布时间: 20210714
...onChange); //加载到舞台 Laya.stage.addChild(this.hScrollBar); //创建提示信息 createPromptText(this.hScrollBar) } /***创建提示信息***/ function createPromptText(scrollBar) { //实例化提示信息 this.promptText = new Text(); //提示框字体 this.promptText.font = "黑体"; //提...
来源: Laya2.0_文档 发布时间: 20210714
...onChange); //加载到舞台 Laya.stage.addChild(this.vScrollBar); //创建提示信息 createPromptText(this.vScrollBar) } /***创建提示信息***/ function createPromptText(scrollBar) { //实例化提示信息 this.promptText = new Text(); //提示框字体 this.promptText.font = "黑体"; //提...
来源: Laya2.0_文档 发布时间: 20210715
...hscroll$bar.png", "res/ui/hscroll$down.png", "res/ui/hscroll$up.png"]; /***提示信息文本框**/ private promptText:Text; /****水平滚动条****/ private hScrollBar:HScrollBar; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); //画布垂直居中对齐 Laya....
来源: Laya2.0_文档 发布时间: 20210715
...vscroll$bar.png", "res/ui/vscroll$down.png", "res/ui/vscroll$up.png"]; /***提示信息文本框**/ private promptText:Text; /****垂直滚动条****/ private vScrollBar:VScrollBar; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); //画布垂直居中对齐 Laya....
来源: Laya2.0_文档 发布时间: 20210715
...适配 中心适配常用于基于屏幕中间的游戏启动LOGO,弹出提示框等。我们可以通过centerX、centerY进行位置居中设置,如图5-1、5-2所示。 (图5-1) (图5-2) ## 4、旋转及缩放属性 旋转及缩放...
来源: Laya2.0_文档 发布时间: 20210714
...适配 中心适配常用于基于屏幕中间的游戏启动LOGO,弹出提示框等。我们可以通过centerX、centerY进行位置居中设置,如图5-1、5-2所示。 (图5-1) (图5-2) ## 4、旋转及缩放属性 旋转及缩放...
来源: Laya2.0_文档 发布时间: 20210715