Exemplo n.º 1
0
    /// <summary>
    /// Initializes the necessary variables that haven't already been initialized in the inspector
    /// </summary>
    private void Awake()
    {
        unlockWalletPopup = GetComponent <UnlockWalletPopup>();

        unlockWalletPopup.AnimateLockedOutSection    += AnimateLockedOutSection;
        unlockWalletPopup.OnPasswordEnteredIncorrect += PasswordIncorrect;

        passwordInputField.GetComponent <HopeInputField>().OnInputUpdated += _ => InputFieldChanged();
        unlockButton.GetComponent <Button>().onClick.AddListener(VerifyingPassword);
    }