private void Awake()
 {
     if (Instance == null)
     {
         Instance = this;
     }
     else
     {
         Debug.LogError("more then once instance of BuildUI found!");
     }
 }
 private void Start()
 {
     buildUI = UI_BuildMenu.Instance;
     if (isLocked)
     {
         button.interactable = false;
     }
     buildCost = constructPrefab.GetComponent <IStructure>().GetBuildDict();
     FillCostPanel();
     costPanel.gameObject.SetActive(false);
 }