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

            menu.RegisterResponder(responder);

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