public void ejectTerm(GameObject termCube) { RelationNotationTerm termCubeScript = termCube.GetComponent <RelationNotationTerm>(); string insertedTerm = termCubeScript.getTerm(); if (correctTerm == insertedTerm) { chainRuleNotationFormulaHandler.removeCorrectTerm(); } }
public void insertTerm(GameObject termCube) { RelationNotationTerm termCubeScript = termCube.GetComponent <RelationNotationTerm>(); string insertedTerm = termCubeScript.getTerm(); if (correctTerm == insertedTerm) { correctAudio.Play(); chainRuleNotationFormulaHandler.addCorrectTerm(); } else { incorrectAudio.Play(); } }