예제 #1
0
    public void OnCardDropEvent()
    {
        //Unsubscribe current player from ReceiveSelectedCellEvent
        ReceiveSelectedCellEvent -= players[currentPlayerIndex].Move;

        //Call all methods which subscribed to CardDropEvent, if not null
        CardDropEvent?.Invoke();
    }
예제 #2
0
 public void OnCardDropEvent()
 {
     //Call disable draggable on hand area
     CardDropEvent?.Invoke();
 }
예제 #3
0
 public void OnCardDropEvent()
 {
     //Calling card drop event: deck.Manager.OnCardDrop => handArea.DisableDraggable
     CardDropEvent?.Invoke();
     endTurnButton.SetActive(false);
 }