Change At Editor Time

Hello, does anibody know how i would go about editing variables in inspector and having the object change accordingly at edit time like the Transform component or the GUITexture component?

Add

[ExecuteInEditMode]

or

@script ExecuteInEditMode()

to your script.

http://docs.unity3d.com/Documentation/ScriptReference/ExecuteInEditMode.html