private void OnActivePlayerChanged(int playerNum) { if (playerNum == 1) { p1Name.SetActive(true); p2Name.SetActive(false); } else if (playerNum == 2) { p2Name.SetActive(true); p1Name.SetActive(false); } else { Debug.LogWarning("Active Player Is Not 1 or 2"); } if (playerController.GetPlayer(1) != null) { UpdateBankValues(playerController.GetPieceBank(1), p1Pieces); } if (playerController.GetPlayer(2) != null) { UpdateBankValues(playerController.GetPieceBank(2), p2Pieces); } }