Compare commits

...

2 Commits

Author SHA1 Message Date
shenjianxing
5e18d16ccf Merge branch '3DBody' of http://git.zxkedu.com:33769/shenjianxing/VirtualFramework into 3DBody 2025-05-21 10:32:00 +08:00
shenjianxing
19fc4c839c 默认音量为1 2025-05-21 10:31:52 +08:00

View File

@ -18,6 +18,7 @@ namespace QFramework.Example
ResLoader loader;
protected override void OnInit(IUIData uiData = null)
{
AudioKit.Settings.VoiceVolume.Value = 1;
TypeEventSystem.Global.Register<OnModuleQuit>(OnModuleQuithandler).UnRegisterWhenGameObjectDestroyed(this);
loader = ResLoader.Allocate();
Group.onValueChanged.AddListener(isOn =>