默认音量为1
This commit is contained in:
parent
79774504bd
commit
19fc4c839c
@ -18,6 +18,7 @@ namespace QFramework.Example
|
|||||||
ResLoader loader;
|
ResLoader loader;
|
||||||
protected override void OnInit(IUIData uiData = null)
|
protected override void OnInit(IUIData uiData = null)
|
||||||
{
|
{
|
||||||
|
AudioKit.Settings.VoiceVolume.Value = 1;
|
||||||
TypeEventSystem.Global.Register<OnModuleQuit>(OnModuleQuithandler).UnRegisterWhenGameObjectDestroyed(this);
|
TypeEventSystem.Global.Register<OnModuleQuit>(OnModuleQuithandler).UnRegisterWhenGameObjectDestroyed(this);
|
||||||
loader = ResLoader.Allocate();
|
loader = ResLoader.Allocate();
|
||||||
Group.onValueChanged.AddListener(isOn =>
|
Group.onValueChanged.AddListener(isOn =>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user