/// <summary> /// Adds the button click listener. /// </summary> protected override void OnAwake() { Button.onClick.AddListener(WalletButtonClicked); walletListMenu = transform.GetComponentInParent <WalletListMenu>(); }
private void Awake() => walletListMenu = GetComponent <WalletListMenu>();