// Start is called before the first frame update
    void Start()
    {
        fogeOfWarTilemap = GameObject.Find(ObjectnamesConstant.FOGE_OF_WAR_TILEMAP).GetComponent <Tilemap>();
        availibleBuildingData.Initialize(worldSize);
        resourceData.Initialize();
        gridTilemap.Initialize(worldSize, offset);
        buildingData.Initialize();
        GameObject go = GameObject.Find("BuildingTilemap");

        PlayerInput.Instance.EnableButtons();

        tiles           = new List <TileBase>();
        buildingsPrefab = Resources.Load <GameObject>(PathConstants.PATH_PALETTES + PathConstants.BUILDINGS);
        sprites         = Resources.LoadAll <Sprite>(PathConstants.PATH_SPRITES + PathConstants.BUILDINGS);
        iconSprites     = Resources.LoadAll <Sprite>(PathConstants.PATH_SPRITES + PathConstants.ICON_BUILDINGS);
        var tilemap = buildingsPrefab.GetComponentInChildren <Tilemap>();

        for (int x = 0; x < tilemap.size.x; x++)
        {
            for (int y = 0; y < tilemap.size.y; y++)
            {
                TileBase tile = tilemap.GetTile(new Vector3Int(x, y, 0));
                if (tile != null)
                {
                    tiles.Add(tile);
                }
            }
        }

        var buildInterface = FindObjectOfType <BuildInterfaceBuilder>();

        buildInterface.ShowBuildInterface();
    }