I used GUIStyle for button. I used fontsize for change the size of the button. It’s not working, also i tried to change the button background texture2D image. It’s also not working. Why?
void OnGUI() {
GUI.skin.label = style;
GUILayout.Label("1. Print the alphabet image targets located at", style);
GUI.skin.label = style1;
GUILayout.Label("2. Point any of the animal images", style1);
GUI.skin.label = style2;
GUILayout.Label("3. Finally your kids able to see the 3D animal render on the screen with sound", style2);
GUI.skin.button = startbtnstyle;
GUI.skin.button.fontSize= 30;
if(GUILayout.Button("Start", startbtnstyle)){
Application.LoadLevel("25Nov1");
}
}