Esempio n. 1
0
    private void PressEnter(PatternLockButton button)
    {
        if (linkedButtons.Contains(button) || isDragging == false)
        {
            return;
        }

        linkedButtons[linkedButtons.Count - 1].Link(button.transform.localPosition);
        linkedButtons.Add(button);
    }
Esempio n. 2
0
 private void PressDown(PatternLockButton button)
 {
     linkedButtons.Clear();
     isDragging = true;
     linkedButtons.Add(button);
 }