public static bool DefaultNavigationSystem( this UFEScreen screen, IDictionary <InputReferences, InputEvents> player1PreviousInputs, IDictionary <InputReferences, InputEvents> player1CurrentInputs, IDictionary <InputReferences, InputEvents> player2PreviousInputs, IDictionary <InputReferences, InputEvents> player2CurrentInputs, AudioClip moveCursorSound = null, AudioClip confirmSound = null, AudioClip cancelSound = null, Action cancelAction = null ) { return (screen.DefaultNavigationSystem( player1PreviousInputs, player1CurrentInputs, moveCursorSound, confirmSound, cancelSound, cancelAction ) || screen.DefaultNavigationSystem( player2PreviousInputs, player2CurrentInputs, moveCursorSound, confirmSound, cancelSound, cancelAction )); }
public static bool DefaultNavigationSystem( this UFEScreen screen, AudioClip moveCursorSound = null, AudioClip confirmSound = null, AudioClip cancelSound = null, Action cancelAction = null ) { return (screen.DefaultNavigationSystem(1, moveCursorSound, confirmSound, cancelSound, cancelAction) || screen.DefaultNavigationSystem(2, moveCursorSound, confirmSound, cancelSound, cancelAction)); }