大约有 708 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0049 秒)
Laya_社区(412) Laya_示例(95) Laya2.0_示例(94) Laya2.0_文档(31) laya_api(24) Laya3.0_api(23) Laya2.0_api(23) Laya3.0_文档(6)
...) { liveGraphics.clear(); liveGraphics.drawPoly(0, 0, path, color); } })();module laya { import Graphics = Laya.Graphics; import Sprite = Laya.Sprite; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class PIXI_Example_21 { private colors:Array = ["#5D0776", "#EC8A49", "#AF3666", "#F...
来源: Laya_示例 发布时间: 20241119
...建出符合自己需要的滚动条。 **示例代码:** ```javascript module laya { import Stage = Laya.Stage; import Text = Laya.Text; import HScrollBar = Laya.HScrollBar; import ScrollBar = Laya.ScrollBar; import VScrollBar = Laya.VScrollBar; import Handler = Laya.Handler; import WebGL = Laya....
来源: Laya2.0_文档 发布时间: 20210715
...ge(value) { console.log("滑块的位置:" + value); } } new UI_Slider();module laya { import Stage = Laya.Stage; import HSlider = Laya.HSlider; import VSlider = Laya.VSlider; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_Slider { constructor(){ // 不支持WebGL时自...
来源: Laya2.0_示例 发布时间: 20241119
...ex = 0; } mArmature.play(mCurrIndex, false); } } new Skeleton_ChangeSkin();module laya { import Skeleton = Laya.Skeleton; import Templet = Laya.Templet; import Event = Laya.Event; import Browser = Laya.Browser; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class ChangeSkin { private mAn...
来源: Laya2.0_示例 发布时间: 20241119
...hange(value) { console.log("滚动条的位置: value=" + value); } })();module laya { import Stage = Laya.Stage; import HScrollBar = Laya.HScrollBar; import VScrollBar = Laya.VScrollBar; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_ScrollBar { constructor() { // 不...
来源: Laya_示例 发布时间: 20241119
...onsole.log("滚动条的位置: value=" + value); } } new UI_ScrollBar();module laya { import Stage = Laya.Stage; import HScrollBar = Laya.HScrollBar; import VScrollBar = Laya.VScrollBar; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_ScrollBar { constructor() { // 不...
来源: Laya2.0_示例 发布时间: 20241119
...ear(); liveGraphics.drawPoly(0, 0, path, color); } } new PIXI_Example_21();module laya { import Graphics = Laya.Graphics; import Sprite = Laya.Sprite; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class PIXI_Example_21 { private colors:Array = ["#5D0776", "#EC8A49", "#AF3666", "#F...
来源: Laya2.0_示例 发布时间: 20241119
...超界弹回的滑动效果) ape.startDrag(dragRegion, true, 100); } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Rectangle = Laya.Rectangle; import Texture = Laya.Texture; import Browser = Laya.Browser; import Handler = Laya.Handler; i...
来源: Laya_示例 发布时间: 20241119
...果) this.ape.startDrag(dragRegion, true, 100); } } new Interaction_Drag();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Rectangle = Laya.Rectangle; import Texture = Laya.Texture; import Browser = Laya.Browser; import Handler = Laya.Handler; ...
来源: Laya2.0_示例 发布时间: 20241119
...iusX, radiusY, 0, radiusY * 2, color); Laya.stage.addChild(sprite); } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import MapLayer = Laya.MapLayer; import TiledMap = Laya.TiledMap; import Point = Laya.Point; import Rectangle = Laya.Rectangle; import Handler = Laya.Handl...
来源: Laya_示例 发布时间: 20241119