private IEnumerator UpdateTime() { dataProxy.InitGameData(); while (true) { yield return(new WaitForSeconds(1f)); if (dataProxy != null) { dataProxy.AddTime(); } } }
private IEnumerator UpdateTime() { dataProxy.InitGameData(); while (true) { yield return(new WaitForSeconds(1f)); if (dataProxy != null) { dataProxy.AddTime(); } } }