コード例 #1
0
ファイル: MultiplayerLobby.cs プロジェクト: Eclmist/Aether
 public void Start()
 {
     AetherInput.GetUIActions().Cancel.performed += ToggleCancelCallback;
     AetherInput.GetUIActions().Customize.performed += ToggleCustomizationCallback;
     AetherInput.GetUIActions().Ready.performed += ToggleReadyCallback;
     AetherInput.GetUIActions().Submit.performed += SubmitInputCallback;
 }
コード例 #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;
    }
コード例 #3
0
ファイル: TitleScreen.cs プロジェクト: Eclmist/Aether
 void Start()
 {
     m_EventSystem = EventSystem.current;
     AetherInput.GetUIActions().Cancel.performed += SwitchMultiplayMenuBarsCallback;
     AetherInput.GetUIActions().Cancel.performed += SwitchOptionsMenuCallback;
 }