Exemple #1
0
    private void LoadLevel(LevelConfig levelConfig)
    {
        leftCorrect  = 0;
        rightCorrect = 0;
        leftFalse    = 0;
        rightFalse   = 0;
        initialLeft  = 0;
        initialRight = 0;

        StartCoroutine(CreateBoxes(levelConfig.GetLeftPrefabs(),
                                   levelConfig.GetRightPrefabs(),
                                   levelConfig.GetLines()));
    }