public void Initialize(PtManager pm) { ptManager = pm; keyboard = GetComponent <FlexMenu>(); responder = new KeyboardInputResponder(this); keyboard.RegisterResponder(responder); }
public void Initialize(PtManager pm) { KeyboardInputResponder responder = new KeyboardInputResponder(this); menu.RegisterResponder(responder); ptManager = pm; saveButton = transform.Find("ControlPanel/Save").GetComponent <FlexActionableComponent>(); }