大约有 2 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0018 秒)
...IDE中创建的遮罩效果是正常的 onAwake(): void { let mask: Laya.Sprite = new Laya.Sprite(); Laya.stage.addChild(mask); mask.graphics.drawCircle(80,50,40,"#ffffff"); let sprite: Laya.Sprite = new Laya.Sprite(); Laya.stage.addChild(sprite); sprite.loadImage("myComp/loading_01.png"); //将遮...
来源: Laya_社区 发布时间: 20211002
... = stateMap[e.type]); } public static function addDark(target:laya.display.Sprite, isDark:Boolean = true):void { if (isDark) { // laya.ui.UIUtils.addFilter(target, DARK); target.filters=[ new ColorFilter([0.7, 0, 0, 0, 0, 0, 0.7, 0, 0, 0, 0, 0, 0.7, 0, 0, 0, 0, 0, 1, 0])]; } else { // laya.ui.UIUtil...
来源: Laya_社区 发布时间: 20160802