- Home /
Question by
karthees · Dec 29, 2013 at 03:38 PM ·
gameobjectscenebackground
Change GameObject background
How can i change the background of my GameObject scene. Now it's showing color. If i want to change with my image means what can i do?
using UnityEngine;
using System.Collections;
public class about : MonoBehaviour {
public GUIStyle style;
public GUIStyle btnstyle;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
void OnGUI() {
GUI.skin.label = style;
GUILayout.Label("1. Print the alphabet image targets located at", style);
GUI.skin.button = btnstyle;
if(GUILayout.Button("click", btnstyle)){
}
}
}
capture.png
(115.7 kB)
Comment