コード例 #1
0
    public Level findById(int id)
    {
        int level = PlayerPrefs.GetInt("level", 0);

        ExperienceRepository experienceRepository = new ExperienceRepository();
        Experience           experience           = experienceRepository.findById(id, level);

        Level levelInstance = new Level(id, level, experience);

        return(levelInstance);
    }