Ejemplo n.º 1
0
 override protected void OnEnable()
 {
     base.OnEnable();
     actionsPressManager = new ActionsControllerPressManager(this)
                           .ButtonPrimary(OnAction)
                           .ButtonSecondary(OnAction);
 }
Ejemplo n.º 2
0
 private void OnEnable()
 {
     actionsPressManager = new ActionsControllerPressManager(this)
                           .MenuBack(OnBack)
                           .MenuSelect(OnSelect)
                           .MenuNestedToggle(OnNestedToggle)
                           .MenuNavigate(OnNavigateDirection);
 }
Ejemplo n.º 3
0
 private void OnEnable()
 {
     actionsPressManager = new ActionsControllerPressManager(this)
                           // @todo Add a menu nested toggle (expand/collapse) button
                           .MenuBack(OnBack)
                           .MenuSelect(OnSelect)
                           .MenuNavigate(OnNavigateDirection);
 }
 private void OnEnable()
 {
     actionsPressManager = new ActionsControllerPressManager(this)
                           .UIBack(OnBack)
                           .UISelect(OnSelect)
                           .UINavigate(OnNavigateDirection)
                           .UITabPrevious(OnTabPrevious)
                           .UITabNext(OnTabNext);
 }
Ejemplo n.º 5
0
        private void OnEnable()
        {
            ActionsController.MenuPress.Listen(OnMenuPress);
            ActionsController.MenuUnpress.Listen(OnMenuUnpress);

            actionsPressManager = new ActionsControllerPressManager(this)
                                  .ButtonAction(OnActionPress)
                                  .DirectionAction(OnDirectionPress);
        }
Ejemplo n.º 6
0
 private void OnEnable()
 {
     actionsPressManager = new ActionsControllerPressManager(this)
                           .FSSExit(OnExit)
                           .FSSCameraControl(OnCameraControl)
                           .FSSTargetCurrentSignal(OnTargetCurrentSignal);
     Reset();
     output.EnableMapAxis();
     UpdateAxis();
 }
Ejemplo n.º 7
0
        void OnEnable()
        {
            actionsPressManager = new ActionsControllerPressManager(this)
                                  .InteractUI(OnInteractUI)
                                  .GrabHold(OnGrab)
                                  .GrabToggle(OnGrab);
            // .GrabPinch(OnGrabPinch)

            Tooltip.TooltipUpdated.Listen(OnTooltipUpdate);
        }
 private void OnEnable()
 {
     actionsPressManager = new ActionsControllerPressManager(this)
                           .FSSExit(OnExit)
                           .FSSCameraControl(OnCameraControl)
                           .FSSTargetCurrentSignal(OnTargetCurrentSignal)
                           .FSSZoom(OnZoom)
                           .FSSSteppedZoom(OnSteppedZoom);
     Reset();
     vJoyInterface.instance.EnableMapAxis();
     UpdateAxis();
 }
Ejemplo n.º 9
0
 void OnEnable()
 {
     actionsPressManager = new ActionsControllerPressManager(this)
                           .ResetSeatedPosition(OnResetSeatedPosition);
 }