TextMesh configuraton Properties in script??

Is there anyway to get script access to the same properties that TextMesh exposes in the editor? The only two Properties exposed in script are font and text. Offset z, Character size, line spacing, anchor, alignment, and tab size are all private for some unknown reason. I can change any of these in the editor in realtime without issue so I don’t understand why they wouldn’t be exposed for the same access in script.

Is there a good reason for not exposing these properties? Are they exposed in the pro version versus the standard unity version?

Can anyone that has 3.0 beta confirm if this has changed in 3.0? Are there any intentions on Unity developments side to change the way this works in the future?

I am trying to dynamically change some these properties at runtime so its causing a bit of frustration, any information would be greatly appreciated. Thanks.

Ves

The programmers haven’t got around to implementing it.

–Eric

Fair enough. Thanks for the reply. You wouldn’t happen to know if they changed this in 3.0 would you? Fingers crossed :slight_smile:

As of now, the font size and style are accessible from the scripting API. However, it is possible that other properties will be added before release.

Thats awesome. Font size was the one I was really looking for. Thanks for the info.