Documentation

Page contents

Updated

Generate PDF from page.

Currency Controller

Files: CGFCurrencyController.cs

Path: "CGF/Systems/Shop"

Description

Controller that allows the associated GameObject to control currencies and their values.

Reference

  • Currencies – List of currencies.
  • Reference Currency – Numeric setting used for reference Currency.

Use

Add this component to the GameObject that should own the behavior.
Configure the inspector fields listed in Reference and assign the required scene or asset references before entering Play Mode.