Wayne Rooney believes Manchester United's new manager Erik Ten Hag will need to be given time to have the desired impact at Old Trafford.