// place the currently held value in the specified Card IEnumerator MOVE_TO() { // grab card reference CurrentArg = current.Arg; CardLogic card = cardContainer.GetCard((int)CurrentArg); HideDataCube(); // trying to store null causes a runtime error if (CurrentValue == null) { error = true; currentState = ACTOR_STATE.REPORTING; yield return(StartCoroutine(currentState.ToString())); } else { // put down the value held, and hands are now empty card.MoveTo((int)CurrentValue); CurrentValue = null; yield return(new WaitForSeconds(InstructionDelay)); } currentState = ACTOR_STATE.REPORTING; }