public Vector3 GetHoverPosition(Card card) { int i = hand.CardPosition(card); if (i == -1) { return(card.transform.position); } return(card_positions[i].position + Vector3.forward * (hover_up ? 1.2f : -1.2f)); }
public Vector3 GetHoverPosition(Card card) { int i = hand.CardPosition(card); if (i == -1) { return(card.transform.position); } return(card_positions[i].position + Vector3.forward * (hover_up ? 1.2f : -1.2f)); }