public void DeployToShadow() { cardDeploying.GetComponent <Card>().SetCardStatus("Deployed"); if (turn == 1) { P1BFRef.AddUnitToShadow(cardDeploying); P1Cards--; if (P1Cards == 0) { ForcePass(1); } } else if (turn == 2) { P2BFRef.AddUnitToShadow(cardDeploying); P2Cards--; if (P2Cards == 0) { ForcePass(2); } } ChangeTurn(); CloseDetailsMenu(); }