this is the code i'm using its c# bty
*code*
*using UnityEngine;
using System.Collections;
public class mainmenu : MonoBehaviour {
public Texture backroundtexture;
void onGUI(){
//display our backround texture
GUI.DrawTexture(new Rect(0,0,Screen.width,Screen.height), backroundtexture);
}
}*
ps im coping the code from this totorial https://www.youtube.com/watch?v=xoaYzfCix3c
↧