大约有 4,000 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0081 秒)
Laya_社区(3251) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_api(94) Laya3.0_文档(86) Laya2.0_api(9) laya_api(6)
...ya.stage.bgColor = "#232628"; Laya.loader.load(assets, Laya.Handler.create(this, this.ShowContent)); } ShowContent() { const FontClip = Laya.FontClip; var clipnum= new FontClip(assets[0]); var fontClip = new FontClip(assets[1]); var TestFontClip = new FontClip(assets[1]); var TestClipNum = new FontC...
来源: Laya2.0_示例 发布时间: 20241002
....bgColor = "#232628"; Laya.loader.load("../../res/bg2.png", Handler.create(this, setup)); })(); function setup() { var bg = new Sprite(); bg.loadImage("../../res/bg2.png"); Laya.stage.addChild(bg); bg2 = new Sprite(); bg2.loadImage("../../res/bg2.png"); Laya.stage.addChild(bg2); bg2.scale(3, 3); //...
来源: Laya_示例 发布时间: 20241002
phasorSpriter3D 无法使用 Laya.timer.frameLoop(1, this, () => { this.phasorSpriter3D = new Laya.PhasorSpriter3D(); var _color = new Laya.Vector4(1, 0, 0, 1); var _corners = new Array<Laya.Vector3>(); _corners[0] = new Laya.Vector3(); _corners[1] = new Laya.Vector3(); _corners[2] = new L...
来源: Laya_社区 发布时间: 20180821
...遮罩想实现转圈进度条的效果 this.mMask.graphics.clear(); Laya.timer.loop(10,this,this.showMask); public showMask():void { this.mMask.graphics.clear(); ...
来源: Laya_社区 发布时间: 20171101
... //关闭效果 hideEffect(): void { Laya.Tween.to(this,{y:Laya.stage.height,alpha:0},200,Laya.Ease.linearIn); } import { ui } from "./ui/layaMaxUI"; export default class ShopDialog extends ui.ShopDialogUI { constructor() { super(); this.popupEffect = L...
来源: Laya_社区 发布时间: 20190121
...变量。__proto._createItems = function (startY, numX, numY) { var box = this._content; var cell = this._getOneCell(); var cellWidth = cell.width + this._spaceX; var cellHeight = cell.height + this._spaceY; if (this.cacheContent) { var cacheBox = new Box(); cacheBox.cacheAsBitmap = true; cacheBox.p...
来源: Laya_社区 发布时间: 20180418
关于下拉列表的选择触发 this.small_map.selectHandler = new Laya.Handler(this, onSelect_small); this.big_map.selectHandler = new Laya.Handler(this, onSelect_big); function onSelect_small(e) { Laya.big_switch = 0 Laya.maptype = "small" this.now_map.text = "当前地图:" + this.small_map....
来源: Laya_社区 发布时间: 20180719
...abled="true" mouseOver="/*trace(this);*/currentCabinet=this;" > </mx:Canvas> <mx:Canvas x="4" y="578" width=...
来源: Laya_社区 发布时间: 20180202
...ading_fly = function (_super) { function Loading_fly() { Loading_fly.super(this); this.onPlay(); } Laya.class(Loading_fly, "Loading_fly", _super) var _proto = Loading_fly.prototype; _proto.onPlay = function () { UIConfig.popupBgAlpha = 0.85; UIConfig.closeDialogOnSide = false; this.diango = new Laya...
来源: Laya_社区 发布时间: 20171107
timer.once(100,this,this.play,[参数名])在play方法中怎么获取参数名得值! 例如: var b:number = 1; Laya.timer.once(100,this,this.play,[b]); 在play():void{ }方法中如何获取b的值!!! 2018-03-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20180331