Beispiel #1
0
 public void LoadGameDataSync(string gameDataTypeName)
 {
     AssetManager.Instance.LoadAssetSync(string.Format("Data/GameData/{0}", gameDataTypeName), (asset) =>
     {
         var bytes = (asset as TextAsset).bytes;
         m_GameDataLoader.LoadGameDataSync(bytes, gameDataTypeName);
     });
 }