示例#1
0
 private void setupLogging()
 {
     pointerVisualizer = new PointerVisualizer();
     pointerList       = new PagedList(22, drawPointerItem, pointerSelectionChangeHandler);
     eventList         = new PagedList(22, drawEventItem, eventSelectionChangeHandler);
     logFilter         = new PointerLogFilter();
 }
示例#2
0
 void Awake()
 {
     instance = this;
     #if UNITY_EDITOR
     gameObject.SetActive(false);
     #endif
     activeController = rightController;
     // foreach(string joystick in Input.GetJoystickNames()){
     //     if(joystick.EndsWith("Left")){
     //         activeController = leftController;
     //         break;
     //     }
     // }
 }