Search Results for

    Show / Hide Table of Contents

    Enum RegenerationDisplay

    Choose when you want to display the regeneration values on the ProgressBar :

    • Hidden
    • AlwaysVisible
    • VisibleWhenRegenerating
    Namespace: TetraCreations.ProgressBarSystem
    Assembly: cs.temp.dll.dll
    Syntax
    public enum RegenerationDisplay

    Fields

    Name Description
    AlwaysVisible

    The values are visible even if it's not currently regenerating.

    Hidden
    VisibleWhenRegenerating

    The values are only visible during regeneration, if it stops, we hide the values using the CanvasGroup.Hide() method.
    Its possible to combine this with DisableGroupWhenHiddingText property in ResourceRegeneration to disable the GameObject.
    As we are using a horizontal layout group, the text values of Progress Bar will automatically be repositioned in the middle.

    In This Article
    Back to top Tetra Creations documentation