public MonsterData.Level GetMonster(int detailedIdx) { int monsterIdx = detailedIdx / 3; MonsterData monster = monstersList [monsterIdx]; if (monster != null) { return(monster.GetLevel(detailedIdx % 3)); } return(null); }