public void Start() { AetherInput.GetUIActions().Cancel.performed += ToggleCancelCallback; AetherInput.GetUIActions().Customize.performed += ToggleCustomizationCallback; AetherInput.GetUIActions().Ready.performed += ToggleReadyCallback; AetherInput.GetUIActions().Submit.performed += SubmitInputCallback; }
// 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; }
void Start() { m_EventSystem = EventSystem.current; AetherInput.GetUIActions().Cancel.performed += SwitchMultiplayMenuBarsCallback; AetherInput.GetUIActions().Cancel.performed += SwitchOptionsMenuCallback; }