Commit b72afd4d authored by 王雪伟's avatar 王雪伟

修改ios

parent 459fe133
...@@ -19,9 +19,11 @@ public class GameConfig : MonoBehaviour ...@@ -19,9 +19,11 @@ public class GameConfig : MonoBehaviour
private void Awake() private void Awake()
{ {
GameConfig._instacne = this; GameConfig._instacne = this;
#if UNITY_ANDROID&&!UNITY_EDITOR #if UNITY_ANDROID && !UNITY_EDITOR
//定时刷新TD //定时刷新TD
StartCoroutine(UpdateTD()); StartCoroutine(UpdateTD());
#else
PlayerDataControl.Instance.TdValue = "td value null";
#endif #endif
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment