Degullmok-client/Assets/Script/UI_Panel/ScrollPanelController.cs
99jamin c187c2570c 스크롤 패널(랭킹) 제작
RankingItem 클래스를 생성해
프로필이미지, 이름, 승률 데이터를 한번에 받아와 패널에 표시
2025-03-14 04:36:36 +09:00

21 lines
470 B
C#

using System.Collections;
using System.Collections.Generic;
using TMPro;
using Unity.VisualScripting;
using UnityEngine;
using UnityEngine.UI;
public class ScrollPanelController : PanelController
{
protected const int MAX_COUNT = 20; //스크롤 아이템 최대 개수
[SerializeField]protected GameObject scrollItemPrefab;
[SerializeField]protected GameObject content;
public void OnClickCloseButton()
{
Hide();
}
}