From 5266fe1ec2dbeab4fb74e60ed46b1a2d3a2bdd64 Mon Sep 17 00:00:00 2001 From: UVCLimHun Date: Mon, 12 May 2025 10:35:55 +0900 Subject: [PATCH] button ing --- .../StreamingAssets/APIEndPointsConfig.json | 10 +++++----- Assets/WorkSpace/LH/LogicDataManager.cs | 20 +++++++++++++++++-- Assets/WorkSpace/LH/LogicItemButton.cs | 20 +------------------ 3 files changed, 24 insertions(+), 26 deletions(-) diff --git a/Assets/StreamingAssets/APIEndPointsConfig.json b/Assets/StreamingAssets/APIEndPointsConfig.json index cba5ad0e..bd97728d 100644 --- a/Assets/StreamingAssets/APIEndPointsConfig.json +++ b/Assets/StreamingAssets/APIEndPointsConfig.json @@ -1,7 +1,7 @@ { - "history": "simulation/histories", - "model": "simulation/3d-models", - "logic": "simulation/logics", - "project": "simulation/projects", - "analyses": "simulation/analyses" + "history": "/simulation/histories", + "model": "/simulation/3d-models", + "logic": "/simulation/logics", + "project": "/simulation/projects", + "analyses": "/simulation/analyses" } \ No newline at end of file diff --git a/Assets/WorkSpace/LH/LogicDataManager.cs b/Assets/WorkSpace/LH/LogicDataManager.cs index 82ad52e4..9e3c94cb 100644 --- a/Assets/WorkSpace/LH/LogicDataManager.cs +++ b/Assets/WorkSpace/LH/LogicDataManager.cs @@ -3,19 +3,35 @@ using System.Collections.Generic; using System.Collections; using Octopus.Simulator.Networks; using Newtonsoft.Json; +using UnityEngine.UI; namespace Octopus.Simulator { public class LogicDataManager : MonoBehaviour { - SimulationData currentInfo; + public SimulationData currentInfo; [SerializeField] - GameObject logicPrefab; + Button logicPrefab; [SerializeField] RectTransform LogicWindow; + + List