Exemple #1
0
    void ListUpdate()
    {
        int kind = SaveDataBase.GetSamurai_Kind();

        for (int i = 0; i < DataBase.MAX_KIND; i++)
        {
            int val = kind & (int)System.Math.Pow(2, i);
            if (val >= 1)
            {
                scrollObjList[i].OnWindow(i);
            }
            else
            {
                scrollObjList[i].OffWindow();
            }
        }
    }