Upgrades ui

This commit is contained in:
Martin
2022-12-16 12:20:37 +01:00
parent 6521ce1f92
commit c85345cba0
19 changed files with 582 additions and 175 deletions

View File

@@ -0,0 +1,15 @@
import { _decorator, Component, Node } from "cc";
const { ccclass, property } = _decorator;
@ccclass("UpgradeLevelPointUI")
export class UpgradeLevelPointUI extends Component {
@property(Node) private upgradedGraphics: Node;
public init(): void {
this.upgradedGraphics.active = false;
}
public upgrade(): void {
this.upgradedGraphics.active = true;
}
}