Documentation

Page contents

Updated

Generate PDF from page.

Canvas Settings Audio Category Slider Behavior

Files: CGFCanvasSettingsAudioCategorySliderBehavior.cs

Path: "CGF/Systems/UI/Settings"

Description

Behavior that allows to change an audio category volume from CGFSettingsScriptable using a slider.

Reference

  • Category Name – Name of the audio category to change.
  • Settings – Settings data that contains the audio category.
  • Slider – Slider to change the audio category volume.

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.