Example #1
0
 /// <summary>
 /// Contiene le regole per permettere il drag al player attivo
 /// </summary>
 /// <param name="card"></param>
 void OnDrag(CardView card)
 {
     if (card.playerView.playerData == GamePlayManager.I.Players[CurrentPlayerIndex])
     {
         card.DoDrag();
     }
 }