private void PressEnter(PatternLockButton button) { if (linkedButtons.Contains(button) || isDragging == false) { return; } linkedButtons[linkedButtons.Count - 1].Link(button.transform.localPosition); linkedButtons.Add(button); }
private void PressDown(PatternLockButton button) { linkedButtons.Clear(); isDragging = true; linkedButtons.Add(button); }