553 {
554
556 {
559 }
560 else
561 {
564 }
565
568
571
572 string combinationText;
573 if (changedOutside)
574 {
576 }
577 else if (changedInside)
578 {
580 }
581
582
584 for (int i = 0; i < lengthDiff; ++i)
585 {
586 combinationText = "0" + combinationText;
587 }
588
589
590 for (
int j = 0; j < combinationText.
Length(); ++j)
591 {
593 {
594 int nextDialedNumber = combinationText.
Get(j).
ToInt() + 1;
595 if (nextDialedNumber > 9)
596 {
597 nextDialedNumber = 0;
598 }
599
600 if (changedOutside)
601 {
603 }
604 else if (changedInside)
605 {
607 }
608 }
609 }
610
611 if (!changedOutside && !changedInside && !chanedOutside && !chanedInside)
612 {
614 }
615 }
void AnimateDigitsInside(string digitIndex)
void AnimateDigitsOutside(string digitIndex)
LockAction m_LockActionPerformed
proto native int Length()
Returns length of string.
proto string Get(int index)
Gets n-th character from string.
proto native int ToInt()
Converts string to integer.