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

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

241. laya.ui.HScrollBar_API3.0 [ 49%]

...ublic class HScrollBar_Example { private var hScrollBar:HScrollBar; public function HScrollBar_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/hscroll.png", "resource/ui/hscroll$bar.png", "re...

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

242. laya.ui.VScrollBar_API3.0 [ 49%]

...ublic class VScrollBar_Example { private var vScrollBar:VScrollBar; public function VScrollBar_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscrol...

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

243. 关于多个小动画打包到一个图集动画的问题 [ 49%]

...现一个报错 laya.core.js:4467 Uncaught TypeError: url.indexOf is not a function 如果我单纯只想拿一张小图的话就不会报错,是可以执行的,请问这里的错误会是什么原因 cuixueying • 2017-04-18 11:02 你预加载之后,不需要再去除texture了,直接用...

来源: Laya_社区 发布时间: 20170330

244. laya.display.AnimationBase_API3.0 [ 49%]

...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

245. laya.ui.ProgressBar_API3.0 [ 49%]

...ic class ProgressBar_Example { private var progressBar:ProgressBar; public function ProgressBar_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/progress.png", "resource/ui/progress$bar.png"],...

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

246. laya.ui.WXOpenDataViewer_API3.0 [ 49%]

...。 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

247. laya.map.TileAniSprite_API3.0 [ 49%]

...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

248. laya.ui.UIComponent_API3.0 [ 49%]

...。 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

249. laya.display.FrameAnimation_API3.0 [ 49%]

...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

250. localRotationEulerY旋转位置错误 [ 49%]

...     Laya.Texture2D.load("res/grass.png", Laya.Handler.create(this, function (tex: Laya.Texture2D): void {             planeMat.albedoTexture = tex;         }));         //设置纹理平铺和偏移         var tilingOffset = planeMat.tilingOffset...

来源: Laya_社区 发布时间: 20201120