Search Results for

    Show / Hide Table of Contents

    Struct ProgressBarRuntimeData

    Used by the PerformanceManager update the position of all the ProgressBar to follow their 'owner' position plus an offset.
    It also store the Enemy/Unit collider to know if it's visible by the Camera.

    Namespace: TetraCreations.ProgressBarSystem
    Assembly: cs.temp.dll.dll
    Syntax
    [Serializable]
    public struct ProgressBarRuntimeData

    Constructors

    ProgressBarRuntimeData(Transform, Transform, Collider, Vector3, CanvasGroup)

    Declaration
    public ProgressBarRuntimeData(Transform ownerTransform, Transform parentTransform, Collider ownerCollider, Vector3 offset, CanvasGroup canvasGroup)
    Parameters
    Type Name Description
    Transform ownerTransform
    Transform parentTransform
    Collider ownerCollider
    Vector3 offset
    CanvasGroup canvasGroup

    Properties

    CanvasGroup

    Declaration
    public CanvasGroup CanvasGroup { get; }
    Property Value
    Type Description
    CanvasGroup

    IsVisible

    Declaration
    public bool IsVisible { get; }
    Property Value
    Type Description
    bool

    Offset

    Declaration
    public Vector3 Offset { get; set; }
    Property Value
    Type Description
    Vector3

    OwnerCollider

    Declaration
    public Collider OwnerCollider { get; }
    Property Value
    Type Description
    Collider

    OwnerTransform

    Declaration
    public Transform OwnerTransform { get; }
    Property Value
    Type Description
    Transform

    ParentTransform

    Declaration
    public Transform ParentTransform { get; }
    Property Value
    Type Description
    Transform

    Methods

    GetFollowingPosition()

    Declaration
    public Vector3 GetFollowingPosition()
    Returns
    Type Description
    Vector3
    In This Article
    Back to top Tetra Creations documentation