Gift settings

WordConnect/Settings/GiftsSettings

The GiftSettings script defines a configurable set of potential gifts that a player can receive, such as coins, tips, or power-ups.

  1. Gift Prefab

    Reference to the visual and interactive GameObject that represents the gift (must inherit from GiftBase).

  2. Gift Count

    The quantity of the resource given when this gift is awarded.

  3. Gift Chance

    The probability weight of this gift being selected during random gift generation (range 0.0 to 100).

  4. Resource Object

    The logical resource this gift provides (e.g., coins, power-ups, etc.), represented as a ResourceObject.

  5. Tag UI Element

    A string identifier used to tag this gift for linking it to a specific UI element in the scene (e.g., buttons, indicators).

Last updated