i got a script to zoom the camera and i have a crosshair texture but i am having trouble getting the texture to go full screen on mouse click down heres the script its C#
using UnityEngine;
using System.Collections;
public class NewBehaviourScript : MonoBehaviour {
public float altFieldOfView = 10.0f;
void Update () {
if(Input.GetMouseButtonUp(1)) {
float temp = camera.fieldOfView;
camera.fieldOfView = altFieldOfView;
altFieldOfView = temp;
}
if(Input.GetMouseButtonDown(1)) {
float temp = camera.fieldOfView;
camera.fieldOfView = altFieldOfView;
altFieldOfView = temp;
}
}
}