mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 10:46:17 +00:00
提交
This commit is contained in:
@@ -86,7 +86,7 @@ namespace SHFrame
|
||||
|
||||
AudioAgents = new List<AudioAgent>(32);
|
||||
InstanceRoot = new GameObject(Utility.Text.Format("Audio Category - {0}", _audioMixerGroup.name)).transform;
|
||||
InstanceRoot.SetParent(GameModule.Audio.InstanceRoot);
|
||||
InstanceRoot.SetParent(SHFrameModule.Audio.InstanceRoot);
|
||||
for (int index = 0; index < _maxChannel; index++)
|
||||
{
|
||||
AudioAgent audioAgent = new AudioAgent();
|
||||
|
@@ -343,9 +343,9 @@ namespace SHFrame
|
||||
if (_instanceRoot == null)
|
||||
{
|
||||
_instanceRoot = new GameObject("AudioModule Instances").transform;
|
||||
_instanceRoot.SetParent(GameModule.Audio.transform);
|
||||
_instanceRoot.SetParent(SHFrameModule.Audio.transform);
|
||||
_instanceRoot.localScale = Vector3.one;
|
||||
GameModule.Audio.InstanceRoot = _instanceRoot;
|
||||
SHFrameModule.Audio.InstanceRoot = _instanceRoot;
|
||||
}
|
||||
|
||||
try
|
||||
|
Reference in New Issue
Block a user