How to make standalone player resizable?

I'd like the user to be able to resize the game window when playing on a Mac in windowed mode, by dragging the lower right corner of the window.

So far the applications I build are insensitive to such a gesture. Is there any piece of code that would take care of that?

Help will be much appreciated.

Based on the comments, I’m not sure if the problem is related to retrieving the resolution that it’s been changed to or physically enabling the ability to resize the application window. If it’s the latter, there is an option in Edit → Project Settings → Player under Standalone Player for “Resizable Window” that can be checked to allow this behaviour.

Googled: https://www.google.com/search?rlz=1C1GGGE_enUS456US456&gcx=c&sourceid=chrome&ie=UTF-8&q=change+resolution+unity3d#pq=change+resolution+unity3d&hl=en&sugexp=pfwe&cp=18&gs_id=4&xhr=t&q=change+resolution+unity3d&tok=Q3nzD99pqLMTOrC7Ly1vsw&pf=p&sclient=psy-ab&rlz=1C1GGGE_enUS456US456&source=hp&pbx=1&oq=change+resolution++unity3d&aq=0j&aqi=g-j1&aql=f&gs_sm=&gs_upl=&bav=on.2,or.r_gc.r_pw.r_cp.,cf.osb&fp=c68993b7b411a584&biw=1777&bih=976

Enjoy.