示例#1
0
        public void ApplyDifficultyToOther()
        {
            Debug.Log("Applying " + ogDiff + " cues to " + newDiff);

            int origin = -1;
            int dest   = -1;

            if (ogDiff == "expert")
            {
                origin = 0;
            }
            if (ogDiff == "advanced")
            {
                origin = 1;
            }
            if (ogDiff == "standard")
            {
                origin = 2;
            }
            if (ogDiff == "easy")
            {
                origin = 3;
            }

            if (newDiff == "expert")
            {
                dest = 0;
            }
            if (newDiff == "advanced")
            {
                dest = 1;
            }
            if (newDiff == "standard")
            {
                dest = 2;
            }
            if (newDiff == "easy")
            {
                dest = 3;
            }

            difficultyManager.CopyToOtherDifficulty(origin, dest);
        }