diff --git a/assets/Game/scripts/game/Rules.ts b/assets/Game/scripts/game/Rules.ts index e1c1f28..c835ef5 100644 --- a/assets/Game/scripts/game/Rules.ts +++ b/assets/Game/scripts/game/Rules.ts @@ -49,6 +49,7 @@ export class Rules extends Component { Label_1_3.string = str } + clickCloseRules() { const destroyFunc = () => { this.node.destroy() } hideToBottom(this.node, destroyFunc)