sega 8a6d23b77d Реорг Scripts
Разделено на 4 модуля
- Menu
- Gameplay
- Settings
- Common
2026-07-15 10:49:55 +03:00

14 lines
319 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CoinSound : MonoBehaviour
{
private void OnEnable()
{
AudioSource source = GetComponent<AudioSource>();
source.volume = SettingsManager.GetFloat("SoundsVolume", 0.5f);
source.Play();
}
}