示例#1
0
    public void InitPopup(CombiLock combiLock, CombiLock.LockButton[] pw)
    {
        this.combiLock    = combiLock;
        password          = pw;
        txtLockState.text = "잠금";

        curButtons = new CombiLock.LockButton[pw.Length];

        for (int i = 0; i < curButtons.Length; i++)
        {
            curButtons[i] = CombiLock.LockButton.Red;
            int ci = (int)curButtons[i];
            imgLockButtons[i].sprite = colorButtonSprites[ci];
        }
    }