MQTTData 버튼 추가
This commit is contained in:
@@ -16,7 +16,7 @@ namespace XED
|
||||
TextMeshProUGUI buttonName;
|
||||
|
||||
string baseDataKey;
|
||||
StudioEntityWithState<object> apiDataValue;
|
||||
StudioEntityWithState<object> dataValue;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
@@ -28,13 +28,13 @@ namespace XED
|
||||
|
||||
void OnClickButton()
|
||||
{
|
||||
panel_Repository.ShowInformation_APIData(apiDataValue);
|
||||
panel_Repository.ShowInformation_APIData(dataValue);
|
||||
}
|
||||
|
||||
public void SetButtonData(string name, StudioEntityWithState<object> data)
|
||||
{
|
||||
baseDataKey = name;
|
||||
apiDataValue = data;
|
||||
dataValue = data;
|
||||
|
||||
buttonName.text = name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user