How to make the button would have been pressed without user action?

    1 answer 1

    Try this using the EventSystem :

     EventSystemManager.currentSystem.SetSelectedGameObject(defaultButton, null); 

    where defaultButton is your button that will be clicked without user action. And for example, make this line in Start()