docs.unity3d.com
    Show / Hide Table of Contents

    Volume Popup

    You can find scripts and parameters for the Volume popup of the IVI interface in the hierarchy under Visualization > Canvas > IVI_VolumePopup.

    The IVI_VolumePopup GameObject has the following custom scripts

    • AudioVolumeController.cs
    • AudioVolumePopupUI.cs
    • AudioVolumePopupVisibilityController.cs :

    The audio controller also has a Volume Changed event. This event is triggered each time the user changes the volume.

    Two scripts listen to the OnVolumeChanged event:

    • AudioVolumePopupUI
      Updates the UI elements such as the label, icon, and progress bar on the volume popup.
    • AudioVolumePopupUIVisibilityController
      Fades the volume popup in and out. This script also keeps the popup visible for a set number of seconds.
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on September 15, 2021