API 버튼 업데이트

This commit is contained in:
jmaniuvc
2025-05-23 12:33:04 +09:00
parent d258253cea
commit 21e9b58d03
11 changed files with 1384 additions and 1094 deletions

View File

@@ -3,11 +3,12 @@ using UnityEngine;
using UnityEngine.UI;
using XED.UI;
using Studio.Setting.Connect;
using XRLib.UI;
namespace XED
{
public class UI_BaseDataButton : MonoBehaviour
public class UI_BaseDataButton : UIBase
{
public Panel_Repository panel_Repository;
@@ -15,7 +16,7 @@ namespace XED
TextMeshProUGUI buttonName;
string baseDataKey;
StudioEntityWithState<object> baseDataValue;
StudioEntityWithState<object> apiDataValue;
private void Awake()
{
@@ -27,13 +28,13 @@ namespace XED
void OnClickButton()
{
panel_Repository.ShowInformation_BaseInfo(baseDataValue);
panel_Repository.ShowInformation_APIData(apiDataValue);
}
public void SetButtonData(string name, StudioEntityWithState<object> data)
{
baseDataKey = name;
baseDataValue = data;
apiDataValue = data;
buttonName.text = name;
}