功能批量实现 优化 服务端 新浮动小游戏框架 新界面UI
This commit is contained in:
@@ -5,6 +5,7 @@ using System.Collections.Generic;
|
||||
|
||||
public class loadDlcListPrefab : MonoBehaviour
|
||||
{
|
||||
private const bool VerboseLogs = false;
|
||||
[System.Serializable]
|
||||
public class Column
|
||||
{
|
||||
@@ -140,16 +141,16 @@ public class loadDlcListPrefab : MonoBehaviour
|
||||
{
|
||||
// simulate a user clicking the button: this will Select() and display its songs
|
||||
savedBtn.OnButtonClicked_ShowSongs();
|
||||
Debug.Log($"loadDlcListPrefab: restored and clicked saved dlc button index={savedIndex} name={savedBtn.gameObject.name}");
|
||||
if (VerboseLogs) Debug.Log($"loadDlcListPrefab: restored and clicked saved dlc button index={savedIndex} name={savedBtn.gameObject.name}");
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.LogWarning($"loadDlcListPrefab: saved dlc button at index {savedIndex} was null");
|
||||
if (VerboseLogs) Debug.LogWarning($"loadDlcListPrefab: saved dlc button at index {savedIndex} was null");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.LogWarning("loadDlcListPrefab: no dlc buttons found after RefreshUI");
|
||||
if (VerboseLogs) Debug.LogWarning("loadDlcListPrefab: no dlc buttons found after RefreshUI");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user