Storing the Rect information and using it doesn’t work even though it’s the same info presumably… Anyone know why? It’s as if you use the same information twice, looks like it.
public Rect mid = new Rect (Screen.width * 0.5f, Screen.height * 0.5f, Screen.width * 0.5f, Screen.height * 0.5f);
Solved it: For it to work it has to run inside of a public void. The code, as written above, needs “public” removed for it to work.