コード例 #1
0
    /**
     * Updates the colors on the minions and update the minionColorIndexes as well
     */
    private void UpdateMinionColorsOLD()
    {
        for (int i = 0; i < 3; i++)
        {
            int colorIndex = i;

            if (i >= currentGodMaterialIndex)
            {
                colorIndex++;
            }

            colorHandler.SetMinionColor(minions [i], colorIndex);
            minionColorIndexes[i] = colorIndex;
        }
    }