Data Repository 모달
This commit is contained in:
@@ -2,6 +2,8 @@ using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using XED.UI;
|
||||
using Studio.Setting.Connect;
|
||||
|
||||
|
||||
namespace XED
|
||||
{
|
||||
@@ -12,6 +14,9 @@ namespace XED
|
||||
Button button;
|
||||
TextMeshProUGUI buttonName;
|
||||
|
||||
string baseDataKey;
|
||||
StudioEntityWithState<object> baseDataValue;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
button = GetComponent<Button>();
|
||||
@@ -22,13 +27,15 @@ namespace XED
|
||||
|
||||
void OnClickButton()
|
||||
{
|
||||
panel_Repository.ShowInformation_BaseInfo();
|
||||
panel_Repository.ShowInformation_BaseInfo(baseDataValue);
|
||||
}
|
||||
|
||||
public void SetButtonName(string name)
|
||||
public void SetButtonData(string name, StudioEntityWithState<object> data)
|
||||
{
|
||||
buttonName.text = name;
|
||||
baseDataKey = name;
|
||||
baseDataValue = data;
|
||||
|
||||
buttonName.text = name;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user