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?
The GameObject class has a property called isStatic that you can use from editor scripts.
answered Jan 25 '10 at 03:21 PM