コード例 #1
0
ファイル: DataManager.cs プロジェクト: liushengchao112/Ember
 private DataManager()
 {
     protoPath     = string.Format("{0}/{1}{2}", UnityEngine.Application.persistentDataPath, DownloadResource.SERVER_URL_BRANCK, "/GameResources/bytes");
     account       = new Account();
     player        = new Player();
     battle        = new Battle();
     cacheResource = new CacheResource();
 }
コード例 #2
0
ファイル: DataManager.cs プロジェクト: liushengchao112/Ember
 public void Dispose()
 {
     cacheResource.Clear();
     cacheResource = null;
 }