private void nextMove() { gameState.moveState = MoveState.WAITING; int difficulty = PlayerPrefs.GetInt("Difficulty"); gameState.currentMove = MoveTypeHelper.randomMove(gameState.currentMove, difficulty); }
// Update is called once per frame void Update() { if (gameState.moveState == MoveState.CORRECT) { GetComponent <TextMeshProUGUI>().text = ""; } if (gameState.moveState == MoveState.WAITING) { GetComponent <TextMeshProUGUI>().text = MoveTypeHelper.MoveTypeToString(gameState.currentMove, leftMove); } }