Support model combination.

This commit is contained in:
左右看
2022-09-27 18:07:57 +08:00
parent 469470b5a4
commit dd5e102e43
3 changed files with 42 additions and 8 deletions
+10 -3
View File
@@ -57,7 +57,8 @@ public class UmaViewerUI : MonoBehaviour
public Color UIColor1, UIColor2;
public bool isCirware = false;
public bool isCriware = false;
public bool isHeadFix = false;
private void Awake()
{
@@ -276,7 +277,13 @@ public class UmaViewerUI : MonoBehaviour
public void SetCriWare(bool value)
{
isCirware = value;
isCriware = value;
}
public void SetHeadFix(bool value)
{
isHeadFix = value;
UnityEngine.Debug.Log(isHeadFix);
}
void ListLiveSounds(int songid)
@@ -294,7 +301,7 @@ public class UmaViewerUI : MonoBehaviour
container.Name.text = name;
container.Button.onClick.AddListener(() => {
HighlightChildImage(LiveCharaSoundList.content, container.GetComponent<Image>());
if (isCirware)
if (isCriware)
{
Builder.LoadLiveSoundCri(songid, entry);
}