public void Initialize(SurfaceTessellation st) { KeyboardInputResponder responder = new KeyboardInputResponder(this); menu.RegisterResponder(responder); tessel = st; objButton = transform.Find("ControlPanel/ExportObj").GetComponent <FlexActionableComponent>(); stlButton = transform.Find("ControlPanel/ExportStl").GetComponent <FlexActionableComponent>(); }