Documentation

Page contents

Updated

Generate PDF from page.

Purchased List Scriptable

Files: CGFPurchasedListScriptable.cs

Path: "CGF/Systems/Shop"

Description

ScriptableObject template for CGFPurchasedListScriptable.

Reference

  • Shop Items List – List of purchased objects.
    • Amount – Numeric value used to identify or count amount.
    • Item – Internal value used to configure item.
      • Accepted Currency List – List of currencies with which you can purchase the item.
        • Currency Name – Text used to identify or display currency name.
        • Currency Value – Numeric setting used for currency Value.
      • Initial Mode – Quantity type of the object.
        • Infinite – Infinite amount.
        • Quantity – Selects the quantity option.
      • Item Name – Name of the object.
      • Locked – Check if it can be purchased.
      • Price – Price of the object.
      • Quantity – Number of items that can be purchased.

Use

Create or assign the ScriptableObject asset in the system that consumes this shared configuration.
Configure the asset fields listed in Reference before using it at runtime.