大约有 823 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0055 秒)
Laya_社区(535) Laya2.0_文档(154) Laya_示例(51) Laya2.0_示例(43) Laya3.0_api(23) Laya3.0_文档(15) laya_api(1) Laya2.0_api(1)
...Scene/Assets/PBR Barrel/Materials/Textures/Barrel_AlbedoTransparency.png', Handler.create(this, function(texture:Texture2D):void { mat.albedoTexture = texture; })); //法线贴图 Texture2D.load('res/threeDimen/scene/PBRMaterialScene/Assets/PBR Barrel/Materials/Textures/Barrel_Normal.png', Handler.c...
来源: Laya2.0_文档 发布时间: 20210714
...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
...LABEL, this, this.onEvent); mArmature.on(Event.STOPPED, this, this.completeHandler); this.play(); } completeHandler() { this.play(); } play() { mCurrIndex++; let aniNum = mArmature.getAnimNum(); if (mCurrIndex >= aniNum) { mCurrIndex = 0; } mArmature.play(mCurrIndex, false); } onEvent(e) { const Twe...
来源: Laya2.0_示例 发布时间: 20241124
...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); ...
来源: Laya_示例 发布时间: 20241124
...ar Button = Laya.Button; var Clip = Laya.Clip; var Image = Laya.Image; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var buttonSkin = "../../res/ui/button-7.png"; var clipSkin = "../../res/ui/num0-9.png"; var bgSkin = "../../res/ui/coutDown.png"; var counter, currFrame, controller; (function()...
来源: Laya_示例 发布时间: 20241124
...ite = Laya.Sprite; var Event = Laya.Event; var Browser = Laya.Browser; var Handler = Laya.Handler; var Stat = Laya.Stat; var Tween = Laya.Tween; var WebGL = Laya.WebGL; var mAniPath; var mStartX = 400; var mStartY = 500; var mFactory; var mActionIndex = 0; var mCurrIndex = 0; var mArmature; var mCur...
来源: Laya_示例 发布时间: 20241124
...e = Laya.Sprite; var Loader = Laya.Loader; var Browser = Laya.Browser; var Handler = Laya.Handler; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var colAmount = 100; var extraSpace = 50; var moveSpeed = 2; var rotateSpeed = 2; var characterGroup; (function() { // 不支持WebGL时自动切换至Canv...
来源: Laya_示例 发布时间: 20241124
...} cardList.renderHandler = new Handler(this, renderHandler, [cardList]); // popArr = cardArr.pop(); if(index%2){ cardList.itemRender = roleCardUI; ...
来源: Laya_社区 发布时间: 20170310
... = 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_示例 发布时间: 20241124
...;res/atlas/games/game_13/image.atlas"} ]; Laya.loader.load(loadArray, Handler.create(null, ()=>{ this.uiView = new SharkItOff(); Laya.stage.addChild(this.uiView); })); 先加载图集,图集加载完再new一个界面。但是界面里的图片都不显示 thekingreturn • 2018-03-27 20:4...
来源: Laya_社区 发布时间: 20180327