Make a fully functional calculator in Unity not only for VR, Part II
Then, we reassign the previously created left to a new OperatorNode, where the operator is a + or - token, the left child is the previously created left node, and the right child is the newly created right node.
If the operator is neither + nor -, we decrement our indexer and break out of the loop.