How can i put textures in toolbar?
I’ve tried that script:
var toolbarInt = 0;
var Ryan : Texture;
var Joseph : Texture;
var Duff : Texture;
var William : Texture;
var toolbarStrings : Texture = [Ryan, Joseph, Duff, William];
function OnGUI () {
toolbarInt = GUI.Toolbar (Rect (25, 25, 250, 30), toolbarInt, toolbarStrings);
}
Sorry my english