loudixvmuniu/Assets/_Scripts/Framework/AudioMng/AudioBackGroundCtrl.cs

36 lines
846 B
C#
Raw Normal View History

2025-01-02 12:15:45 +08:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/*******************************************************************************
*Create By CG
*Function
*******************************************************************************/
namespace CG.Framework
{
[RequireComponent(typeof(AudioSource))]
public class AudioBackGroundCtrl : AudioCtrl
{
private void Start()
{
Regist();
}
private void OnDestroy()
{
UnRegister();
}
public override void AdjustVolume(float Volue)
{
base.AdjustVolume(Volue);
}
protected override void Regist()
{
base.Regist();
}
protected override void UnRegister()
{
base.UnRegister();
}
}
}