大约有 1,787 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0056 秒)
Laya_社区(1124) Laya2.0_文档(198) Laya3.0_api(114) Laya2.0_api(105) Laya2.0_示例(83) Laya_示例(70) laya_api(64) Laya3.0_文档(29)
...aya.Rectangle; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var Handler = Laya.Handler function GolfMainUI() { GolfMainUI.super(this) var dragRegion; showDragRegion(); this.golfBall.x = Laya.stage.width / 2; this.golfBall.y = Laya.st...
来源: Laya_社区 发布时间: 20180627
...aya.Tween.to(obGold, {value:__data.gold}, 1000, Laya.Ease.linearNone, Laya.Handler.create(this, function(){ trace('obGold.value', obGold.value) }), 0) tweenGold.update = updateGoldHandler 写法没问题吧!!! 2019-05-20 添加评论 ...
来源: Laya_社区 发布时间: 20190520
...载的内容全部停止加载。LoaderManager create(url:*, complete:Handler = null, progress:Handler = null, type:String = null, constructParams:Array = null, propertyParams:Object = null, priority:int = 1, cache:Boolean = true):void 根据clas类型创建一个未初始化资源的对象,随...
来源: Laya2.0_api 发布时间: 20190513
...(); //棋子动画 this.genSpine("res/spine/ludo_qizidongzuo.skel", Laya.Handler.create(this, (templet: Laya.SpineTemplet) => { //模版复用 let y = 400; let unitWidth = Laya.stage.width / 16; for (let i = 0; i < 16; i++) { let person = templet.buildArmature(); Laya.stage.addChild(person...
来源: Laya_社区 发布时间: 20220530
...a.ColorFilter; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var ApePath = "../../res/apes/monkey2.png"; var apeTexture; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); ...
来源: Laya2.0_文档 发布时间: 20210714
....TiledMap; var Rectangle = Laya.Rectangle; var Browser = Laya.Browser; var Handler = Laya.Handler; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var tiledMap; var mLastMouseX = 0; var mLastMouseY = 0; var mX = 0; var mY = 0; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.c...
来源: Laya_示例 发布时间: 20241118
...} cardList.renderHandler = new Handler(this, renderHandler, [cardList]); // popArr = cardArr.pop(); if(index%2){ cardList.itemRender = roleCardUI; ...
来源: Laya_社区 发布时间: 20170310
...(function() { var Stage = Laya.Stage; var TextInput = Laya.TextInput; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var SPACING = 100; var INPUT_WIDTH = 300; var INPUT_HEIGHT = 50; var Y_OFFSET = 50; var skins; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL);...
来源: Laya_示例 发布时间: 20241118
... = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.st...
来源: Laya2.0_示例 发布时间: 20241118
...LE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(apePath, Laya.Handler.create(this, this.setup)); } setup() { this.createApe(); this.applayFilter(); } createApe() { const Sprite = Laya.Sprite; this.ape = new Sprite(); Laya.stage.addChild(this.ape); let texture = Laya.loader.getRes(apePat...
来源: Laya2.0_示例 发布时间: 20241118