private void OnEnable() { if (flowchart != null) { flowchart.gameObject.SetActive(false); flowchart.StopAllBlocks(); flowchart.Reset(true, true); } }