大约有 5 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0014 秒)
...种开发语言、LayaAirIDE让项目开发更高效。(function() { var Loader = Laya.Loader; var Handler = Laya.Handler; var ROBOT_DATA_PATH = "../../res/skeleton/robot/robot.bin"; var ROBOT_TEXTURE_PATH = "../../res/skeleton/robot/texture.png"; (function() { Laya.init(100, 100); var assets = []; ...
来源: Laya_示例 发布时间: 20241118
...; assets = ["../../res/ui/dialog (1).png", "../../res/ui/close.png"]; Laya.loader.load(assets, Handler.create(this, onSkinLoadComplete)); })(); function onSkinLoadComplete() { var dialog = new Dialog(); var bg = new Image(assets[0]); dialog.addChild(bg); var button = new Button(assets[1]); button.na...
来源: Laya_示例 发布时间: 20241118
...aya.Templet; var Event = Laya.Event; var GlowFilter = Laya.GlowFilter; var Loader = Laya.Loader; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var mArmature; var fileName = "Dragon"; var mTexturePath; var mAniPath; v...
来源: Laya_示例 发布时间: 20241118
...tage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load([buttonSkin, clipSkin, bgSkin], laya.utils.Handler.create(this, onSkinLoaded)); })(); function onSkinLoaded() { showBg(); createTimerAnimation(); showTotalSeconds(); createController(); } function showBg() { var b...
来源: Laya_示例 发布时间: 20241118
...lse); var directionLight = scene.addChild(new Laya.DirectionLight()); Laya.loader.create("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(this, onComplete)); function onComplete() { layaMonkey3D = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMon...
来源: Laya_示例 发布时间: 20241118