/**
     * <summary>
     * Set max health
     * </summary>
     *
     * <param name="maxHealth">maxHealth</param>
     *
     * <returns>
     * void
     * </returns>
     */
    public void SetMaxHealth(float maxHealth)
    {
        float currentHealth = this.GetHealth();

        this.maxHealth = maxHealth;

        ResourceUI resourceUI = this.UI.GetComponent <ResourceUI>();

        resourceUI.SetMaxHealth(currentHealth, maxHealth);
    }