CanvasScaler source code

Would it be possible to get the source code for the new CanvasScaler class to make a custom version it? Previously the ReferenceResolution and PhysicalResolution scripts were published and we have a custom script that inherits from ReferenceResolution.

Alternatively, is there some way to register canvas size change events? That’s the main functionality in our custom script to allow some scripts do custom sizing of components in case of screen resize.

1 Like

If you are in a hurry use ILSpy :wink:

1 Like

So how about it, now that you removed ReferenceResolution?

We are working on getting the proper code source repo ready.