/**
     * <summary>
     * On hover
     * </summary>
     *
     * <returns>
     * void
     * </returns>
     */
    private IEnumerator OnHover()
    {
        while (true)
        {
            while (this.hover)
            {
                BuildingInfoPanelUI.SetName(this.name);
                BuildingInfoPanelUI.SetDescription(this.description);
                BuildingInfoPanelUI.SetRequirements(this.resourceRequirements, true);
                BuildingInfoPanelUI.SetProfits(this.resourceProfits);

                yield return(null);
            }

            yield return(null);
        }
    }
 private void Awake()
 {
     Self = this;
     this.gameObject.SetActive(false);
 }