// Switches State when the player is predicting the price will go down. Called from the Down prediction button. public void PredictingDown() { predictBitcoinText.text = predictDownString; PredictingState = PricePredictingState.PredictingDown; predictDownButton.colors = predictDownButtonColourBlock; predictUpButton.colors = noPredictionUpButtonColourBlock; }
// State is Active when the player has not selected a prediction. public void WaitingToPredict() { predictBitcoinText.text = predictBitcoinString; PredictingState = PricePredictingState.WaitingToPredict; predictUpButton.colors = noPredictionUpButtonColourBlock; predictDownButton.colors = noPredictionDownButtonColourBlock; }