Exemplo n.º 1
0
 public void Start()
 {
     AetherInput.GetUIActions().Cancel.performed += ToggleCancelCallback;
     AetherInput.GetUIActions().Customize.performed += ToggleCustomizationCallback;
     AetherInput.GetUIActions().Ready.performed += ToggleReadyCallback;
     AetherInput.GetUIActions().Submit.performed += SubmitInputCallback;
 }
Exemplo n.º 2
0
    // Start is called before the first frame update
    void Start()
    {
        m_platformType = PlatformType.PS4_CONTROLLER;

        // Keyboard Action Call
        AetherInput.GetUIActions().KeyboardAction.performed += RetrievePlatformTypeCallback;

        // Mouse Action Calls
        AetherInput.GetUIActions().ScrollWheel.performed += RetrievePlatformTypeCallback;
        AetherInput.GetUIActions().Click.performed += RetrievePlatformTypeCallback;
        AetherInput.GetUIActions().MiddleClick.performed += RetrievePlatformTypeCallback;
        AetherInput.GetUIActions().RightClick.performed += RetrievePlatformTypeCallback;

        // Other Bindings
        AetherInput.GetUIActions().Cancel.performed += RetrievePlatformTypeCallback;
        AetherInput.GetUIActions().Navigate.performed += RetrievePlatformTypeCallback;
        AetherInput.GetUIActions().Ready.performed += RetrievePlatformTypeCallback;
        AetherInput.GetUIActions().Submit.performed += RetrievePlatformTypeCallback;
        AetherInput.GetUIActions().Customize.performed += RetrievePlatformTypeCallback;
        AetherInput.GetUIActions().GetBindings.performed += RetrievePlatformTypeCallback;
    }
Exemplo n.º 3
0
 void Start()
 {
     m_EventSystem = EventSystem.current;
     AetherInput.GetUIActions().Cancel.performed += SwitchMultiplayMenuBarsCallback;
     AetherInput.GetUIActions().Cancel.performed += SwitchOptionsMenuCallback;
 }