private void TryToPlayCardToZone(CardController card, ZoneControllerAbstract zone) { switch (zone.ZoneType) { case eZoneType.Battlefield: { if (CanPlayCard(card)) { PlayCard(card); } else { card.CardEndDraging(Vector3.zero); } break; } case eZoneType.ResourcePool: { if (CanPutCardInResource(card)) { PutCardInResource(card); } else { card.CardEndDraging(Vector3.zero); } break; } default: { break; } } }