public override void OnApplicationStart() { Instance = this; PlayerListConfig.RegisterSettings(); EntryManager.Init(); ListPositionManager.Init(); MenuManager.Init(); EntrySortManager.Init(); PlayerEntry.EntryInit(); LocalPlayerEntry.EntryInit(); MelonCoroutines.Start(StartUiManagerInitIEnumerator()); }
public static void AddPlayerLeftPairEntry(PlayerLeftPairEntry entry) { playerLeftPairsEntries.Add(entry); if (!entry.playerEntry.isSelf) { playerEntries.Add(entry.playerEntry); } AddEntry(entry); AddEntry(entry.leftSidePlayerEntry); AddEntry(entry.playerEntry); entry.playerEntry.gameObject.SetActive(true); EntrySortManager.SortPlayer(entry); RefreshLeftPlayerEntries(0, 0, true); }