Search Unity

Unity Editor toolbar Height and width of buttons

Discussion in 'Scripting' started by Censureret, Aug 11, 2021.

  1. Censureret

    Censureret

    Joined:
    Jan 3, 2017
    Posts:
    363
    Hey i could really use help with some Toolbar settings. i cant really seem to put in the right parameters:

    Code (CSharp):
    1.         currentTab = GUILayout.Toolbar(currentTab, new string[] {"Wind", "Environmental", "Time of Day"}, null,
    2.             GUI.ToolbarButtonSize.Fixed, [GUILayout.Height(200)]);
    How do i set these values? :) sorry for the newbie question