private void UpdatePinCode(int pinLength)
{
GUIImage[] imagePins = new GUIImage[4] { imagePin1, imagePin2, imagePin3, imagePin4 };
// Visually indicate to user the number of digits entered
ClearPinCode();
for (int i = 0; i < pinLength; i++)
{
imagePins[i].Visible = true;
}
// Check if PinCode entered is correct
if (pinLength == 4)
{
ConfirmPinCode();
}
}