Exemplo n.º 1
0
    public void OnShow()
    {
        inputController = GetComponent <UIInputController>();
        group           = GetComponent <UIPageGroup>();

        if (DeviceController.inputModules.Length > 0)
        {
            inputController.SetInputModules(DeviceController.inputModules);
            group.ShowPage(1);
        }
        else
        {
            group.ShowPage(0);
        }
    }
Exemplo n.º 2
0
 public override void OnShow()
 {
     controller.SetInputModules(DeviceController.inputModules);
     base.OnShow();
 }
Exemplo n.º 3
0
 public override void OnShow()
 {
     inputController = GetComponentInParent <UIInputController>();
     inputController.SetInputModules(DeviceController.inputModules);
     base.OnShow();
 }
Exemplo n.º 4
0
 public override void OnControllerActivated(InputModule module)
 {
     inputController.SetInputModules(DeviceController.inputModules);
 }