Files
XRLib/Assets/Scripts/UVC/Factory/Modal/Settings/GeneralInfoTabContent.cs
2025-08-07 21:12:44 +09:00

30 lines
777 B
C#

#nullable enable
using Cysharp.Threading.Tasks;
using TMPro;
using UnityEngine;
using UVC.UI.Tab;
namespace UVC.Factory.Modal.Settings
{
/// <summary>
/// 설정 모달의 일반 정보 탭 콘텐츠를 표시하는 컴포넌트입니다.
/// </summary>
public class GeneralInfoTabContent : MonoBehaviour, ITabContent
{
[SerializeField]
private TextMeshProUGUI text;
public void SetContentData(object? data)
{
Debug.Log("GeneralInfoTabContent: SetContentData called");
text.text = $"Version: {Application.version}";
}
public UniTask OnCloseAsync()
{
Debug.Log("GeneralInfoTabContent: OnClose called");
return UniTask.CompletedTask;
}
}
}