大约有 890 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0078 秒)
Laya_社区(515) Laya_示例(65) Laya3.0_api(65) Laya2.0_api(62) Laya2.0_文档(60) laya_api(57) Laya2.0_示例(51) Laya3.0_文档(15)
...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea iconOffset is3D label labelAlign labelBold labelColors labelFont labelPadding labelSize labelStroke labelStrokeCol...
来源: Laya3.0_api 发布时间: 20231115
...击无反应? 代码如下: var dialog_mc:Sprite = new Sprite(); Laya.stage.addChild(dialog_mc); var w:int = 110; var h:int = 40; var btn:Sprite = new Sprite(); btn.size(w, h); btn.graphics.drawRect((stageWd - w) * 0.5, (stageHt - h) * 0.5-50, w, h, "#FF7F50"); btn.graphics.fillText("确 定", (...
来源: Laya_社区 发布时间: 20170120
...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scro...
来源: Laya3.0_api 发布时间: 20231115
...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scro...
来源: Laya3.0_api 发布时间: 20231115
...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scro...
来源: Laya3.0_api 发布时间: 20231102
HIERARCHY_LOADED函数不回调 this.sceneP = Laya.stage.addChild(Laya.Scene.load(name)) as Laya.Sprite3D; //this.sceneP.transform.setTranslate(500,500); this.sceneP.once(Event.HIERARCHY_LOADED, this,function():void{ console.error("改变大小"); this.sceneP.transform.localScale = new Vector3(3, 3...
来源: Laya_社区 发布时间: 20180327
...动的悲剧 this.bg = new BackGround(); // 把背景添加到舞台 Laya.stage.addChild(this.bg); // 加载图集资源 Laya.loader.load("res/atlas/war.json",Laya.Handler.create(this,onLoaded),null,Laya.Loader.ATLAS); })(); function onLoaded(){ // 创建一个主角 this.hero = new Role(); // 初...
来源: Laya_社区 发布时间: 20170525
...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize elasticEnabled filters globalRotation globalScaleX globalScaleY graphics gray hScrollBar hScrollBarSkin height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivot...
来源: Laya3.0_api 发布时间: 20231115
...停,点击任意地方恢复游戏"; pause(); Laya.stage.once(Laya.Event.CLICK, this, this.onStageClick); } _proto.onStageClick = function(){ this.infoLabel.text = ""; resume(); } _proto.hp = function(value){ this.hp...
来源: Laya_社区 发布时间: 20170416
...nt.CLICK,null,function(){ //TO GamePage2 console.log("left onclick"); Laya.stage.addChild(new GameView); }); //分享快乐 this.StartRight.on(Laya.Event.CLICK,null,function(){ //超链接 onLink(href); }); //天猫Logo this.img_TianMao.on(Laya.Event.CLICK,null,function(){ //超链接 onLink(hre...
来源: Laya_社区 发布时间: 20180810