private void Update() { if (!HasLoaded) { LoadManager.Update(); return; } MapData.Update(); VisionManager.Update(); DebugMenu.GlobalUpdate(); RegionManager.Update(); #region DEBUG Remove me if (Input.GetKey(KeyCode.LeftControl) && Input.GetKeyDown(KeyCode.Mouse0)) { MapData.SetWallTile(Camera.main.ScreenToWorldPoint(Input.mousePosition), WallType.AllTypes[0].ID); } #endregion }