- Home /
How can i lock size unity scene after PC standalone build.
Hi all
My Unity Project is Window PC version Builded.
And, Embed Unity Project in My WPF Project. It's sucessfully.
Unity is Visible in WPF Tab Panel.(AvalonDock)
Typically, Window Tab can be resizing. so my project can too.
There is a problem at this point.
--- Unity Project Player Settings.(Standalone)--- Run In Background (true) Resizable Window (true)
So, i need do resize to the Builded Unity Process. then, Locked Unity's Resolution. For example, If i set my unity resolution by 1900x800. and running time window resizing 1900x 900.(width, height)
And then i want display unity resolution by 1900x800. Process Window Rect 1900x900(0x50[Up], 0x50[bottom] Empty space) : Lock Size at unity scene resolution.
How can i lock size at unity scene?(with using "player settings / Resizable Window") And How can i make ScrollBar at Unity Player(Standalone) Window?
Thank you. Sorry for my poor English. and I hope you can understand me.
Hi, I suggest reading up on how other users have solved similar issues, perhaps: http://answers.unity3d.com/questions/37266/how-i-can-change-the-screen-resolution-in-real-tim.html
Docs: http://docs.unity3d.com/ScriptReference/Screen.SetResolution.html
Your answer
![](https://koobas.hobune.stream/wayback/20220613175801im_/https://answers.unity.com/themes/thub/images/avi.jpg)