public override void Execute(INotification notification) { // 脚本停止运行 StopScriptsRunning(); // 回到GUIDE 窗口 closeCurrentUIForm(); // 保存分数 Model_GameDataProxy gameDataProxy = Facade.RetrieveProxy(Model_GameDataProxy.NAME) as Model_GameDataProxy; gameDataProxy.SaveHightest(); // 重置时间 gameDataProxy.ResetGameTime(); gameDataProxy.ResetScore(); }
void Start() { _dataProxy = Facade.Instance.RetrieveProxy(Model_GameDataProxy.NAME) as Model_GameDataProxy; }
void Start() { DataProxy = Facade.Instance.RetrieveProxy(Model_GameDataProxy.NAME) as Model_GameDataProxy; ie = GetTime(); StartCoroutine(ie); }