示例#1
0
 /// <summary>
 /// this function is called when the user presses the button Graph
 /// it activates the graph gameobject, sets the input polynom for the graph and calls the CreateGraph function
 /// </summary>
 public void OnGraphPress()
 {
     graph.SetActive(true);
     graphPolynomial.PolynomialEquation = new List <Monom>();
     graphPolynomial.PolynomialEquation = initialPolynomialEquation;
     graphPolynomial.CreateGraph();
 }