accessing GUITexture.*border through scripting

Hi,

I need to adjust the pixelInset and border variables of the GUITexture at runtime: i.e. when running on low resolution, I use a smaller image and would like to set the values accordingly. While that’s easily possible with the pixelInset values, I can’t access the various border values via scripting.

Is there any way / workaround to accomplish this?
And, why can’t these variables be accessed thru scripting in the first place?

This does appear to be an oversight in the design of the API. I have recently brought this problem and associated bug reports directly to the attention of the QA team.

thanks for reporting that issue.

I’m looking forward to the next unity version then :smile: