|
I'm trying to write an editor script to get models into unity3d (iphone) which have a lot of their setup already dealt with. I'd like to be able to specify that a transform, or gameobject is static as if i'd ticked the checkbox in the editor, but can't seem to see a way to do this. Is it possible? What member controls this property? Cheers
(comments are locked)
|
|
The GameObject class has a property called isStatic that you can use from editor scripts. Thanks a lot. That works great, I was at the transform level and didn't think to peak into the corresponding gameobject. That's great, I can automatically assign static as required now. Cheers
Jan 26 '10 at 12:37 AM
jimbobuk
(comments are locked)
|

I don't think you can but if it is possible I sure would like to know as well :-)