调整核心玩法细节表现
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
|
||||
import { UIManager } from "../models/UIManager";
|
||||
import { StorageManager } from "../models/StorageManager";
|
||||
|
||||
const { regClass, property } = Laya
|
||||
|
||||
@@ -22,6 +24,7 @@ export class Home extends Laya.Script {
|
||||
|
||||
this.btn_clean.on(Laya.Event.CLICK, this, (evt: Laya.Event) => {
|
||||
console.log("btn_clean=", evt);
|
||||
StorageManager.getInstance().cleanStage()
|
||||
Laya.LocalStorage.clear()
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user