if ((pair.nodePanel.openType & OpenType.ByToggle) == OpenType.ByToggle) { if (pair.openTog != null) pair.openTog.onValueChanged.AddListener((x) => { if (x) { pair.nodePanel.UnHide(); } else { pair.nodePanel.Close(); } }); } } } public void Hide() { gameObject.SetActive(fal...
// Start is called before the first frame update void Start() { // Get references to GameObjects in hierarchy canvas = GameObject.Find("Canvas"); graphy = GameObject.Find("[Graphy]"); width = GameObject.Find("Width").GetComponent<TMPro.TMP_InputField>(); height = GameObjec...