remove 'toggleInfo' variable

This commit is contained in:
in0finite 2020-05-01 19:52:58 +02:00
parent 1cfe3b80b1
commit 1eb6dbadda

View file

@ -114,9 +114,6 @@ namespace SanAndreasUnity.Behaviours
private int zoomSelector = 2;
private Coroutine zoomCoroutine;
// Toggle flags
private bool toggleInfo = true;
// GUI Elements
private Texture2D blackPixel, seaPixel;
@ -210,9 +207,6 @@ namespace SanAndreasUnity.Behaviours
zoomCoroutine = StartCoroutine(ChangeZoom(zoomIn));
}
if (Input.GetKeyDown(KeyCode.F8))
toggleInfo = !toggleInfo;
}
public static Vector2 WorldPosToMapPos(Vector3 worldPos)