폴더 정리
This commit is contained in:
@@ -79,7 +79,7 @@ namespace UVC.Factory.Component
|
||||
public class AGVManager : SingletonScene<AGVManager>
|
||||
{
|
||||
|
||||
private readonly string prefabPath = "Prefabs/Factory/AGV";
|
||||
private readonly string prefabPath = "Factory/Prefabs/AGV";
|
||||
private GameObjectPool<AGV>? pool;
|
||||
|
||||
public GameObjectPool<AGV> Pool
|
||||
|
||||
@@ -49,8 +49,8 @@ namespace Factory
|
||||
|
||||
|
||||
// 1. TabConfig 설정
|
||||
tabController?.AddTabConfig("Explorer", "탐색기", "Prefabs/Factory/Tab/TabContentComponentListTab", "Prefabs/UI/Images/icon_side_tab_explorer_24", sortedInfos, true);
|
||||
tabController?.AddTabConfig("Library", "라이브러리", "Prefabs/Factory/Tab/TabContentLibraryGrid", "Prefabs/UI/Images/icon_side_tab_library_24", "라이브러리", true);
|
||||
tabController?.AddTabConfig("Explorer", "탐색기", "Factory/Prefabs/Tab/TabContentComponentListTab", "Prefabs/UI/Images/icon_side_tab_explorer_24", sortedInfos, true);
|
||||
tabController?.AddTabConfig("Library", "라이브러리", "Factory/Prefabs/Tab/TabContentLibraryGrid", "Prefabs/UI/Images/icon_side_tab_library_24", "라이브러리", true);
|
||||
|
||||
// 2. 컨트롤러 초기화
|
||||
tabController?.Initialize();
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace UVC.Factory.Modal.Settings
|
||||
{
|
||||
Debug.Log($"Key: {item}, Value: {item}");
|
||||
// 1. TabConfig 설정
|
||||
tabController.AddTabConfig(item, item, "Prefabs/Factory/Modal/Setting/DisplayDataOrderTabContent", "", item, true);
|
||||
tabController.AddTabConfig(item, item, "Factory/Prefabs/Modal/Setting/DisplayDataOrderTabContent", "", item, true);
|
||||
}
|
||||
|
||||
// 2. 컨트롤러 초기화
|
||||
|
||||
@@ -30,10 +30,10 @@ namespace UVC.Factory.Modal.Settings
|
||||
private void SetupTabs(ModalContent content)
|
||||
{
|
||||
// 1. TabConfig 설정
|
||||
tabController?.AddTabConfig("GeneralInfo", "일반 정보", "Prefabs/Factory/Modal/Setting/GeneralInfoTabContent", "Prefabs/UI/Images/icon_info", null, true);
|
||||
tabController?.AddTabConfig("DisplaySetting", "표시 설정", "Prefabs/Factory/Modal/Setting/DisplaySettingTabContent", "Prefabs/UI/Images/icon_eye", null, true);
|
||||
tabController?.AddTabConfig("AlarmSetting", "알람 설정", "Prefabs/Factory/Modal/Setting/AlarmSettingTabContent", "Prefabs/UI/Images/icon_alarm", null, true);
|
||||
tabController?.AddTabConfig("InputSetting", "입력 설정", "Prefabs/Factory/Modal/Setting/InputSettingTabContent", "Prefabs/UI/Images/icon_mouse", null, true);
|
||||
tabController?.AddTabConfig("GeneralInfo", "일반 정보", "Factory/Prefabs/Modal/Setting/GeneralInfoTabContent", "Prefabs/UI/Images/icon_info", null, true);
|
||||
tabController?.AddTabConfig("DisplaySetting", "표시 설정", "Factory/Prefabs/Modal/Setting/DisplaySettingTabContent", "Prefabs/UI/Images/icon_eye", null, true);
|
||||
tabController?.AddTabConfig("AlarmSetting", "알람 설정", "Factory/Prefabs/Modal/Setting/AlarmSettingTabContent", "Prefabs/UI/Images/icon_alarm", null, true);
|
||||
tabController?.AddTabConfig("InputSetting", "입력 설정", "Factory/Prefabs/Modal/Setting/InputSettingTabContent", "Prefabs/UI/Images/icon_mouse", null, true);
|
||||
|
||||
// 2. 컨트롤러 초기화
|
||||
tabController?.Initialize();
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace UVC.Factory.Playback.UI
|
||||
private static UIPlayback CreateUIPlayBack()
|
||||
{
|
||||
// Resources 폴더에서 프리팹을 불러와 인스턴스화합니다.
|
||||
GameObject prefab = Resources.Load<GameObject>("Prefabs/Factory/Playback/UIPlayback");
|
||||
GameObject prefab = Resources.Load<GameObject>("Factory/Prefabs/Playback/UIPlayback");
|
||||
GameObject go = GameObject.Instantiate(prefab);
|
||||
return go.GetComponent<UIPlayback>();
|
||||
}
|
||||
|
||||
@@ -83,7 +83,7 @@ namespace UVC.Factory.Playback.UI
|
||||
/// <summary>
|
||||
/// 프리팹 경로(Resources 폴더 기준)
|
||||
/// </summary>
|
||||
public static readonly string PrefabPath = "Prefabs/Factory/Playback/UIPlaybackListItem";
|
||||
public static readonly string PrefabPath = "Factory/Prefabs/Playback/UIPlaybackListItem";
|
||||
|
||||
/// <summary>
|
||||
/// 풀에서 아이템을 생성(또는 재사용)합니다.
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace UVC.Factory.Playback.UI
|
||||
/// <summary>
|
||||
/// 이 모달의 프리팹 경로(Resources 폴더 기준)
|
||||
/// </summary>
|
||||
public static readonly string PrefabPath = "Prefabs/Factory/Playback/UIPlaybackListModal";
|
||||
public static readonly string PrefabPath = "Factory/Prefabs/Playback/UIPlaybackListModal";
|
||||
|
||||
/// <summary>
|
||||
/// 프리팹에서 모달을 생성합니다.
|
||||
|
||||
@@ -33,11 +33,11 @@ namespace Factory.Tab
|
||||
if(sortedInfos == null) return;
|
||||
|
||||
// 1. TabConfig 설정
|
||||
tabController?.AddTabConfig("ALL", "ALL", "Prefabs/Factory/Tab/TabContentComponentList", "", sortedInfos, true);
|
||||
tabController?.AddTabConfig("ALL", "ALL", "Factory/Prefabs/Tab/TabContentComponentList", "", sortedInfos, true);
|
||||
foreach (var info in sortedInfos)
|
||||
{
|
||||
//info.Key 카테고리 이름
|
||||
tabController?.AddTabConfig(info.Key, info.Key, "Prefabs/Factory/Tab/TabContentComponentList", "", info.Value, true);
|
||||
tabController?.AddTabConfig(info.Key, info.Key, "Factory/Prefabs/Tab/TabContentComponentList", "", info.Value, true);
|
||||
}
|
||||
|
||||
// 2. 컨트롤러 초기화
|
||||
|
||||
@@ -38,9 +38,9 @@ namespace Factory.Tab
|
||||
|
||||
List<string> imagePath = new List<string>()
|
||||
{
|
||||
"Images/lib_forklift_400x300",
|
||||
"Images/lib_pallet_400x300",
|
||||
"Images/lib_worker_400x300",
|
||||
"Simulator/Images/lib_forklift_400x300",
|
||||
"Simulator/Images/lib_pallet_400x300",
|
||||
"Simulator/Images/lib_worker_400x300",
|
||||
};
|
||||
|
||||
List<string> prefabPath = new List<string>()
|
||||
|
||||
@@ -38,9 +38,9 @@ namespace Simulator.LNB
|
||||
|
||||
List<string> imagePath = new List<string>()
|
||||
{
|
||||
"Images/lib_forklift_400x300",
|
||||
"Images/lib_pallet_400x300",
|
||||
"Images/lib_worker_400x300",
|
||||
"Simulator/Images/lib_forklift_400x300",
|
||||
"Simulator/Images/lib_pallet_400x300",
|
||||
"Simulator/Images/lib_worker_400x300",
|
||||
};
|
||||
|
||||
List<string> prefabPath = new List<string>()
|
||||
|
||||
@@ -27,8 +27,8 @@ namespace Simulator.LNB
|
||||
public void Start()
|
||||
{
|
||||
// 1. TabConfig 설정
|
||||
tabController?.AddTabConfig("Explorer", "탐색기", "Prefabs/Simulator/SimulatorLNBExplorer", "Prefabs/UI/Images/icon_side_tab_explorer_128", "탐색기", true);
|
||||
tabController?.AddTabConfig("Library", "라이브러리", "Prefabs/Simulator/SimulatorLNBLibrary", "Prefabs/UI/Images/icon_side_tab_library_128", "라이브러리", true);
|
||||
tabController?.AddTabConfig("Explorer", "탐색기", "Simulator/Prefabs/SimulatorLNBExplorer", "Prefabs/UI/Images/icon_side_tab_explorer_128", "탐색기", true);
|
||||
tabController?.AddTabConfig("Library", "라이브러리", "Simulator/Prefabs/SimulatorLNBLibrary", "Prefabs/UI/Images/icon_side_tab_library_128", "라이브러리", true);
|
||||
tabController?.AddTabConfig("ResourceExplorer", "자원 탐색기", "Prefabs/UI/Tab/TabContentSample", "Prefabs/UI/Images/icon_side_tab_resource_128", "자원 탐색기", true);
|
||||
tabController?.AddTabConfig("FleetManager", "이동기 관리", "Prefabs/UI/Tab/TabContentSample", "Prefabs/UI/Images/icon_side_tab_fleet_128", "이동기 관리", true);
|
||||
|
||||
|
||||
@@ -32,8 +32,8 @@ namespace UVC.Studio
|
||||
var infos = ComponentList.GenerateData();
|
||||
|
||||
// 1. TabConfig 설정
|
||||
tabController?.AddTabConfig("Explorer", "탐색기", "Prefabs/Factory/Tab/TabContentComponentListTab", "Prefabs/UI/Images/icon_side_tab_explorer_24", infos, true);
|
||||
tabController?.AddTabConfig("Library", "라이브러리", "Prefabs/Factory/Tab/TabContentLibraryGrid", "Prefabs/UI/Images/icon_side_tab_library_24", "라이브러리", true);
|
||||
tabController?.AddTabConfig("Explorer", "탐색기", "Factory/Prefabs/Tab/TabContentComponentListTab", "Prefabs/UI/Images/icon_side_tab_explorer_24", infos, true);
|
||||
tabController?.AddTabConfig("Library", "라이브러리", "Factory/Prefabs/Tab/TabContentLibraryGrid", "Prefabs/UI/Images/icon_side_tab_library_24", "라이브러리", true);
|
||||
|
||||
// 2. 컨트롤러 초기화
|
||||
tabController?.Initialize();
|
||||
|
||||
@@ -36,8 +36,8 @@ namespace UVC.UI.Tab
|
||||
/// private void SetupTabs()
|
||||
/// {
|
||||
/// // 1. TabConfig 설정
|
||||
/// tabController?.AddTabConfig("AGV", "AGV", "Prefabs/Factory/UI/Tab/DraggableListContent", null, CreateAGVData(), true);
|
||||
/// tabController?.AddTabConfig("ALARM", "ALARM", "Prefabs/Factory/UI/Tab/DraggableListContent", null, CreateAlarmData(), true);
|
||||
/// tabController?.AddTabConfig("AGV", "AGV", "Factory/Prefabs/UI/Tab/DraggableListContent", null, CreateAGVData(), true);
|
||||
/// tabController?.AddTabConfig("ALARM", "ALARM", "Factory/Prefabs/UI/Tab/DraggableListContent", null, CreateAlarmData(), true);
|
||||
///
|
||||
/// // 2. 컨트롤러 초기화
|
||||
/// tabController?.Initialize();
|
||||
|
||||
Reference in New Issue
Block a user