Ejemplo n.º 1
0
    void LoginFig()
    {
        for (int i = 0; i < AccessData.loginInfo.Count; i++)
        {
            //AccessData.Read1FigInfo();
            //loadImage(figClone, AccessData.figName);

            if (PlayerPrefs.GetInt("UserLevel") == 1)
            {
                AccessData.Read1FigInfo();
            }
            else if (PlayerPrefs.GetInt("UserLevel") == 2)
            {
                AccessData.Read2FigInfo();
            }
            loadImage(figClone, AccessData.figName);
            break;
        }
    }