大约有 2 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0012 秒)
...CoralRect(); this.createDeepSkyblueRect(); this.createDarkOrchidRect(); // 设置舞台 Laya.stage.name = "暗灰色舞台" Laya.stage.on(Event.MOUSE_DOWN, this, this.onDown); } createCoralRect() { const Sprite = Laya.Sprite, Event = Laya.Event; let coralRect = new Sprite(); coralRect.graphics.drawR...
来源: Laya2.0_示例 发布时间: 20241117
...teractionArea = new Sprite(); guideContainer.addChild(interactionArea); // 设置叠加模式 interactionArea.blendMode = "destination-out"; // 设置点击区域 hitArea = new Laya.HitArea(); hitArea.hit.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000"); guideContainer.hitArea = hitArea; ...
来源: Laya2.0_示例 发布时间: 20241117