mirror of
https://github.com/Kizuren/SynthMaze.git
synced 2026-01-12 09:29:31 +01:00
22 lines
437 B
C#
22 lines
437 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
using TMPro;
|
|
|
|
public class MusicValue : MonoBehaviour
|
|
{
|
|
private Slider mainSlider;
|
|
|
|
// Start is called before the first frame update
|
|
void Awake()
|
|
{
|
|
mainSlider = GetComponent<Slider>();
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
mainSlider.value = SoundBar.SoundVolume;
|
|
}
|
|
}
|