public void SetEdge(FormElement edge) { if (edge.count != 2) { return; } icon.sprite = EdgeIcon; text.text = edge.ToString(); gameObject.SetActive(true); }
public void SetFace(FormElement face) { if (face.count < 3) { return; } icon.sprite = FaceIcon; text.text = face.ToString(); gameObject.SetActive(true); }
public void SetVertex(FormElement vertex) { if (vertex.count != 1) { return; } icon.sprite = VertexIcon; text.text = vertex.ToString(); gameObject.SetActive(true); }