private void LoadMoves() { var moves = ResourcesUtil.GetResource <Dictionary <int, MoveData> >("Moves.json"); Moves = moves.Values.ToArray(); LoadMoveNames(); }
private ItemsDatabase() { _items = ResourcesUtil.GetResource <Dictionary <int, ItemInfo> >("Items.json"); }
private AbilitiesManager() { Abilities = ResourcesUtil.GetResource <Dictionary <int, AbilityData> >("Abilities.json"); }
private Pokedex() { Entries = ResourcesUtil.GetResource <PokedexEntry[]>("PokemonData.json"); }