• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 74 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0090 秒)

51. laya.ui.Tab_API3.0 [ 57%]

... laya.ui.Tab; import laya.utils.Handler; public class Tab_Example { public function Tab_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/tab.png"], Handler.create(this, onLoadComplete));//加...

来源: Laya3.0_api 发布时间: 20231115

52. laya.ui.Dialog_API3.0 [ 57%]

...; public class Dialog_Example { private var dialog:Dialog_Instance; public function Dialog_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/btn_close.png", Handler.create(this, o...

来源: Laya3.0_api 发布时间: 20231115

53. laya.ui.ColorPicker_API3.0 [ 57%]

...cker; import laya.utils.Handler; public class ColorPicker_Example { public function ColorPicker_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/color.png", Handler.create(this,onLoadComplete))...

来源: Laya3.0_api 发布时间: 20231115

54. laya.ui.ScrollBar_API3.0 [ 57%]

...找到目标对象,最后再检测此对象。 isLockedFun isLockedFun: Function Defined in laya/ui/ScrollBar.ts:497 mouseThrough mouseThrough: boolean = false Inherited from Text.mouseThrough Defined in laya/display/Sprite.ts:260 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检...

来源: Laya3.0_api 发布时间: 20231115

55. laya.ui.AdvImage_API3.0 [ 57%]

...。 example private var _testTips:TestTipsUI = new TestTipsUI(); private function testTips():void { //简单鼠标提示 btn2.toolTip = "这里是鼠标提示<b>粗体</b><br>换行"; //自定义的鼠标提示 btn1.toolTip = showTips1; //带参数的自定义鼠标提示 clip.tool...

来源: Laya3.0_api 发布时间: 20231102

56. laya.ui.FontClip_API3.0 [ 57%]

...。 example private var _testTips:TestTipsUI = new TestTipsUI(); private function testTips():void { //简单鼠标提示 btn2.toolTip = "这里是鼠标提示<b>粗体</b><br>换行"; //自定义的鼠标提示 btn1.toolTip = showTips1; //带参数的自定义鼠标提示 clip.tool...

来源: Laya3.0_api 发布时间: 20231115

57. laya.ui.Slider_API3.0 [ 57%]

...。 example private var _testTips:TestTipsUI = new TestTipsUI(); private function testTips():void { //简单鼠标提示 btn2.toolTip = "这里是鼠标提示<b>粗体</b><br>换行"; //自定义的鼠标提示 btn1.toolTip = showTips1; //带参数的自定义鼠标提示 clip.tool...

来源: Laya3.0_api 发布时间: 20231115

58. laya.ui.UIGroup_API3.0 [ 57%]

...。 example private var _testTips:TestTipsUI = new TestTipsUI(); private function testTips():void { //简单鼠标提示 btn2.toolTip = "这里是鼠标提示<b>粗体</b><br>换行"; //自定义的鼠标提示 btn1.toolTip = showTips1; //带参数的自定义鼠标提示 clip.tool...

来源: Laya3.0_api 发布时间: 20231115

59. laya.ui.View_API3.0 [ 57%]

...s type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...

来源: Laya3.0_api 发布时间: 20231115

60. laya.display.Text_API3.0 [ 57%]

...ple package { import laya.display.Text; public class Text_Example { public function Text_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var text:Text = new Text(...

来源: Laya3.0_api 发布时间: 20231115