API 버튼 업데이트
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user