Пример #1
0
 /// <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>();