public void changePointBRed() { pointB = teamHolder.Red; pointBText.text = "Point B: Red"; triggerPointB.redColorChange(); checkBothPoints(); }
public void changePointBBlue() { pointB = teamHolder.Blue; pointBText.text = "Point B: Blue"; triggerPointB.blueColorChange(); checkBothPoints(); }
public void resetPoints() { triggerPointA.resetColor(); pointAText.text = "Point B: None"; pointA = teamHolder.None; triggerPointB.resetColor(); pointBText.text = "Point B: None"; pointB = teamHolder.None; }
void Start() { pointA = teamHolder.None; pointB = teamHolder.None; startTimer = false; timeLeft = 10f; timerText.text = timeLeft.ToString(); redScore = 0; blueScore = 0; scoreText.text = "Red: " + redScore + " Blue: " + blueScore; }