예제 #1
0
파일: PatternLock.cs 프로젝트: RHF01369/DS
    private void PressEnter(PatternLockButton button)
    {
        if (linkedButtons.Contains(button) || isDragging == false)
        {
            return;
        }

        linkedButtons[linkedButtons.Count - 1].Link(button.transform.localPosition);
        linkedButtons.Add(button);
    }
예제 #2
0
파일: PatternLock.cs 프로젝트: RHF01369/DS
 private void PressDown(PatternLockButton button)
 {
     linkedButtons.Clear();
     isDragging = true;
     linkedButtons.Add(button);
 }