大约有 823 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0048 秒)
Laya_社区(535) Laya2.0_文档(154) Laya_示例(51) Laya2.0_示例(43) Laya3.0_api(23) Laya3.0_文档(15) laya_api(1) Laya2.0_api(1)
...ya.loader.create("res/Scene/Conventional/Model.lh", Laya.Handler.create(this, function () { GameManager.models = Laya.loader.getRes("res/Scene/Conventional/Model.lh"); this.refreshProgressBar(1); this.destroy()...
来源: Laya_社区 发布时间: 20240218
...LE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(apePath, Laya.Handler.create(this, this.setup)); } setup() { this.normalizeApe(); this.makeRedApe(); this.grayingApe(); } normalizeApe() { let originalApe = this.createApe(); originalApe.x = (Laya.stage.width - apeTexture.width * 3) / 2; o...
来源: Laya2.0_示例 发布时间: 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
... = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.st...
来源: Laya2.0_示例 发布时间: 20241118
...效。(function() { var Stage = Laya.Stage; var Button = Laya.Button; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var COLUMNS = 2; var BUTTON_WIDTH = 147; var BUTTON_HEIGHT = 165 / 3; var HORIZONTAL_SPACING = 200; var VERTICAL_SPACING = 100; var xOffset; var yOffset; var skins; (function() {...
来源: Laya_示例 发布时间: 20241118
... Laya.Rectangle; var Loader = Laya.Loader; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var AniConfPath = "../../res/fighter/fighter.json"; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.sta...
来源: Laya_示例 发布时间: 20241118
...createSprite3D = 2; Laya.loader.create("res/h5/LayaScene_Effect/Effect.lh",Handler.create(this,this.onEffectOK),null,Laya.Sprite3D); Laya.loader.create("res/h5/LayaScene_aixin/aixin.lh",Handler.create(this,this.onEffectOK),null,Laya.Sprite3D); onEffectOK() : void{ this._createSprite3D -= 1; if(this....
来源: Laya_社区 发布时间: 20180403
.../Assets/PBR Barrel/Materials/Textures/Barrel_AlbedoTransparency.png', Laya.Handler.create(this, function (texture) { this.mat.albedoTexture = texture; })); //法线贴图 Laya.Texture2D.load('res/threeDimen/scene/PBRMaterialScene/Assets/PBR Barrel/Materials/Textures/Barrel_Normal.png', Laya.Handler....
来源: Laya2.0_文档 发布时间: 20210715
... = 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
...。(function() { var Stage = Laya.Stage; var CheckBox = Laya.CheckBox; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var COL_AMOUNT = 2; var ROW_AMOUNT = 3; var HORIZONTAL_SPACING = 200; var VERTICAL_SPACING = 100; var X_OFFSET = 100; var Y_OFFSET = 50; var skins; (function() { // 不支持Web...
来源: Laya_示例 发布时间: 20241118