How Unity UI System adjust their size according to editor screen without play mode

How Unity UI System adjust their size according to editor screen without play mode?

I’m doing a custom scaling for 3D object, And really need to scale it immediately when scale editor game window.

executeineditmode?