inputtedCode property
A List that contains the numbers actively in the pad. Keeping items in a list as opposed to one int solves issues with numbers between web / mobile. To reset the number pad, set the inputted code to be an empty array.
Implementation
List<int> inputtedCode;