// Update is called once per frame void Update() { if (Input.GetKeyDown(KeyCode.KeypadPlus)) { MinimapClass.ShowWindow(); } if (Input.GetKeyDown(KeyCode.KeypadMinus)) { MinimapClass.HideWindow(); } }
// Start is called before the first frame update void Start() { MinimapClass.Init(); }