Exemplo n.º 1
0
 public void Initialize(PtManager pm)
 {
     ptManager = pm;
     keyboard  = GetComponent <FlexMenu>();
     responder = new KeyboardInputResponder(this);
     keyboard.RegisterResponder(responder);
 }
Exemplo n.º 2
0
        public void Initialize(PtManager pm)
        {
            KeyboardInputResponder responder = new KeyboardInputResponder(this);

            menu.RegisterResponder(responder);

            ptManager  = pm;
            saveButton = transform.Find("ControlPanel/Save").GetComponent <FlexActionableComponent>();
        }