I’m doing an editor script and when I access pixelWidth and pixelHeight properties of a given Camera (i.e. Camera.mainCamera) I get the values for the editor window instead of the game view
I would like to get 1024x768 as my game view but instead I get 254x289 as the editor window, if I resize the editor window for that specific script the values change, I don’t know how to correct this or if this is the intended behavior.