ShantiManti/Assets/game/Scripts/UI/MusicValue.cs
MarcUs7 a90f5fe421 Refactored Music scripts
Refactored music scripts & changed the Input system to the new one
2024-12-28 21:41:03 +01:00

20 lines
364 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
public class MusicValue : MonoBehaviour
{
private Slider _mainSlider;
private void Awake()
{
_mainSlider = GetComponent<Slider>();
}
private void Update()
{
_mainSlider.value = SoundBar.SoundVolume;
}
}