UI HUGE UPDATE

This commit is contained in:
FloatGaming
2026-06-25 11:48:56 +08:00
parent bd2a06f4c7
commit b2a1e307a4
1806 changed files with 359863 additions and 20822 deletions
@@ -6,6 +6,7 @@ public class uRecentGameHistory : MonoBehaviour
{
private const string SongResourcesPath = "song_songIndex";
private const int MaxVisibleRecordCount = 5;
private const float DefaultPrefabScaleRatio = 1.25f;
[Header("gameobjects")]
public GameObject gameHistoryPrefab;
@@ -13,6 +14,9 @@ public class uRecentGameHistory : MonoBehaviour
public Transform dGameHistoryParent;
public GameObject more_gameHistory;
[Header("layout")]
public float prefabScaleRatio = DefaultPrefabScaleRatio;
[Header("buttons")]
public Button more_gameHistoryButton;
public Button shut_gameHistoryButton;
@@ -71,6 +75,7 @@ public class uRecentGameHistory : MonoBehaviour
}
GameObject instance = Instantiate(gameHistoryPrefab, gameHistoryParent);
instance.transform.localScale *= prefabScaleRatio;
previewEntries.Add(instance);
ghPrefab controller = instance.GetComponent<ghPrefab>();
if (controller == null)