minor update

This commit is contained in:
左右看
2023-07-06 03:36:40 +08:00
parent 998ec9d14f
commit 22b1de6517
2 changed files with 28 additions and 7 deletions
+13 -5
View File
@@ -110,8 +110,15 @@ public class UmaViewerAudio
{
case 0:
liveVocal[0].volume = 0.7056f;
liveVocal[1].volume = 0.56f;
liveVocal[2].volume = 0.56f;
if(liveVocal.Count > 2)
{
liveVocal[2].volume = 0.56f;
}
if (liveVocal.Count > 1)
{
liveVocal[1].volume = 0.56f;
}
break;
case 1:
for (int i = 0; i < liveVocal.Count; i++)
@@ -132,9 +139,10 @@ public class UmaViewerAudio
}
break;
default:
liveVocal[0].volume = 0f;
liveVocal[1].volume = 0f;
liveVocal[2].volume = 0f;
for (int i = 0; i < liveVocal.Count; i++)
{
liveVocal[i].volume = 0;
}
break;
}
}
@@ -336,7 +336,7 @@ namespace Gallop.Live
public PartEntry partInfo;
public bool _syncTime = false;
public bool _soloMode = true;
public bool _soloMode = false;
private void Awake()
{
@@ -401,7 +401,20 @@ namespace Gallop.Live
{
Debug.Log(songid);
var charaCount = 0;
for (int i = 0; i < characters.Count; i++)
{
if (characters[i].CharaEntry.Name != "")
{
charaCount += 1;
}
}
if(charaCount == 1)
{
_soloMode = true;
}
if (!_soloMode)
{
for (int i = 0; i < characters.Count; i++)