public void OnCardDropEvent() { //Unsubscribe current player from ReceiveSelectedCellEvent ReceiveSelectedCellEvent -= players[currentPlayerIndex].Move; //Call all methods which subscribed to CardDropEvent, if not null CardDropEvent?.Invoke(); }
public void OnCardDropEvent() { //Call disable draggable on hand area CardDropEvent?.Invoke(); }
public void OnCardDropEvent() { //Calling card drop event: deck.Manager.OnCardDrop => handArea.DisableDraggable CardDropEvent?.Invoke(); endTurnButton.SetActive(false); }