mirror of
https://github.com/Kizuren/ShantiManti.git
synced 2025-12-21 21:16:04 +01:00
20 lines
364 B
C#
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;
|
|
}
|
|
}
|