void Awake() { if (instance == null) { instance = this; } }
public void Init() { if (!GetData()) { m_GameData = new GlobleData(); m_PlayerData = new PlayerData(); SaveData(); } }
void Awake() { if (instance == null) { instance = this; } }
public void Init() { if (!GetData()) { m_GameData = new GlobleData(); m_PlayerData = new PlayerData(); SaveData(); } }