about new 2D Texture

function OnGUI()
{
GUI.DrawTexture(Rect(0,0,Screen.width,Screen.height), game_main); //backgroundImage
if (GUI.Button(Rect(50,40,60,60),menuScrol,GUIStyle.none))
{
Debug.Log(“Menu Scroll”);
}
if (GUI.Button(Rect(10,299,60,60),back,GUIStyle.none))
{
Debug.Log(“back”);
Application.LoadLevel(“Title”);
}
if (GUI.Button(Rect(1325,299,60,60),next,GUIStyle.none))
{
Debug.Log(“next”);
}

if (GUI.Button(Rect(500,310,60,60),puzle1))

{
Debug.Log(“puzzle binggo1”);
GUI.DrawTexture(Rect(1300,200,60,60),puzleImage1); //trouble point
}


alt text

I think Click the button to debug massage and New Texture

but, only debug massage…

where is trouble?

you must draw texture every (!) frame, e.g. every OnGUI call, not just on single button press event