GUI Style question!!!

I have a question ,wich I kind of looked it up(I actually really did), but didn’t find a relevant answer…I have defined a GUI Style responsable for streaming messages when an object is picked up, of course the script is attached to the object, and I have variables named like “IsObjectX”(booleans), then “SendMessageX”, so that I don’t have to create an individual script for each object, and I cannot create a script for the player, because only a few objects are pickup-able.So I want to edit the GUI style in the Inspector globally, SO IT WILL HAVE color white for all of the streamed messages, for each object, but apperently, I have to edit the style from the Inspector for each object that I attached the script to, can’t I do it globally?From the inspector?I hope you understand what I mean.

I might not help you,But I suggest you not use built-in gui.Use NGUI…

Yes, you can change GUIStyles from in script.

public skin GUISkin;

function ChangeStyle() {
  skin.button.normal.textColor = Color.white;