Im trying to create a third person robot shooting game, but something is really fxxkin with me, its that i CAN NOT get the crosshair in the middle of the screen
Heres the script:
using UnityEngine;
using System.Collections;
public class Crosshair : MonoBehaviour {
public Texture2D InGameLogo;
public Texture2D crosshair;
// Use this for initialization
void Start ()
{
}
// Update is called once per frame
void Update ()
{
}
void OnGUI ()
{
GUI.Label (new Rect (Screen.width/2, Screen.height/2, 70, 70),crosshair);
GUI.Box (new Rect (20,300,250,50), "ROBONIGGA! LETS GET IT!!!");
GUI.DrawTexture (new Rect (20, 30, 250, 150), InGameLogo);
}
}