Table of Contents

Struct SecondaryBarTrigger

Namespace
Fallencake.UI
Assembly
Fallencake.UI.dll

Represents a trigger pair for secondary progress bar in custom triggers mode. When the primary bar reaches 'primaryValue', the secondary bar should display 'secondaryValue'. The delay between primary and secondary bar updates is controlled by _secondaryBarDelay:

  • Positive delay: primary bar updates first, then secondary bar after delay
  • Negative delay: secondary bar updates first, then primary bar after delay
  • Zero delay: both bars update simultaneously
[Serializable]
public struct SecondaryBarTrigger

Constructors

SecondaryBarTrigger(float, float)

public SecondaryBarTrigger(float primary, float secondary)

Parameters

primary float
secondary float

Fields

primaryValue

[SerializeField]
public float primaryValue

Field Value

float

secondaryValue

[SerializeField]
public float secondaryValue

Field Value

float