Example #1
0
        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();
        }
Example #2
0
 void Start()
 {
     _dataProxy = Facade.Instance.RetrieveProxy(Model_GameDataProxy.NAME) as Model_GameDataProxy;
 }
Example #3
0
 void Start()
 {
     DataProxy = Facade.Instance.RetrieveProxy(Model_GameDataProxy.NAME) as Model_GameDataProxy;
     ie        = GetTime();
     StartCoroutine(ie);
 }