diff --git a/.idea/.idea.ScreenCapture/.idea/copilot.data.migration.agent.xml b/.idea/.idea.ScreenCapture/.idea/copilot.data.migration.agent.xml
new file mode 100644
index 0000000..4ea72a9
--- /dev/null
+++ b/.idea/.idea.ScreenCapture/.idea/copilot.data.migration.agent.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/.idea.ScreenCapture/.idea/copilot.data.migration.ask.xml b/.idea/.idea.ScreenCapture/.idea/copilot.data.migration.ask.xml
new file mode 100644
index 0000000..7ef04e2
--- /dev/null
+++ b/.idea/.idea.ScreenCapture/.idea/copilot.data.migration.ask.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/.idea.ScreenCapture/.idea/copilot.data.migration.ask2agent.xml b/.idea/.idea.ScreenCapture/.idea/copilot.data.migration.ask2agent.xml
new file mode 100644
index 0000000..1f2ea11
--- /dev/null
+++ b/.idea/.idea.ScreenCapture/.idea/copilot.data.migration.ask2agent.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/.idea.ScreenCapture/.idea/copilot.data.migration.edit.xml b/.idea/.idea.ScreenCapture/.idea/copilot.data.migration.edit.xml
new file mode 100644
index 0000000..8648f94
--- /dev/null
+++ b/.idea/.idea.ScreenCapture/.idea/copilot.data.migration.edit.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/.idea.ScreenCapture/.idea/workspace.xml b/.idea/.idea.ScreenCapture/.idea/workspace.xml
index a7a1713..4c46442 100644
--- a/.idea/.idea.ScreenCapture/.idea/workspace.xml
+++ b/.idea/.idea.ScreenCapture/.idea/workspace.xml
@@ -1,12 +1,25 @@
-
+
+
+
+
+
+
+
+ {}
+ {
+ "isMigrated": true
+}
+ {
+ "associatedIndex": 5
+}
@@ -14,23 +27,119 @@
{
"keyToString": {
- "settings.editor.selected.configurable": "preferences.language.and.region"
+ "RunOnceActivity.ShowReadmeOnStart": "true",
+ "RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true",
+ "RunOnceActivity.git.unshallow": "true",
+ "RunOnceActivity.typescript.service.memoryLimit.init": "true",
+ "git-widget-placeholder": "main",
+ "nodejs_package_manager_path": "npm",
+ "settings.editor.selected.configurable": "preferences.pluginManager",
+ "vue.rearranger.settings.migration": "true"
}
}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
1743409431936
1743409431936
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -52,4 +161,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Assets/Main.unity b/Assets/Main.unity
index 077ac88..b09e90b 100644
--- a/Assets/Main.unity
+++ b/Assets/Main.unity
@@ -409,7 +409,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 1}
- m_AnchoredPosition: {x: -20, y: -15}
+ m_AnchoredPosition: {x: -20, y: -15.0000305}
m_SizeDelta: {x: 300, y: -80}
m_Pivot: {x: 1, y: 0.5}
--- !u!114 &240954700
@@ -793,7 +793,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
- m_SizeDelta: {x: 0, y: 0}
+ m_SizeDelta: {x: -20, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &598475234
MonoBehaviour:
@@ -1014,7 +1014,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
- m_SizeDelta: {x: 0, y: 0}
+ m_SizeDelta: {x: -20, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &694708555
MonoBehaviour:
@@ -1799,6 +1799,7 @@ GameObject:
- component: {fileID: 1251167096}
- component: {fileID: 1251167098}
- component: {fileID: 1251167097}
+ - component: {fileID: 1251167099}
m_Layer: 5
m_Name: Panel
m_TagString: Untagged
@@ -1867,6 +1868,19 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1251167095}
m_CullTransparentMesh: 1
+--- !u!114 &1251167099
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1251167095}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 60ebf93c4e7b5469f80592685f22f30b, type: 3}
+ m_Name:
+ m_EditorClassIdentifier: Assembly-CSharp::DirectorySelect
+ fileDirectory:
--- !u!1 &1259274612
GameObject:
m_ObjectHideFlags: 0
@@ -2162,6 +2176,7 @@ GameObject:
m_Component:
- component: {fileID: 1438379832}
- component: {fileID: 1438379833}
+ - component: {fileID: 1438379834}
m_Layer: 5
m_Name: 'Directory '
m_TagString: Untagged
@@ -2216,6 +2231,19 @@ MonoBehaviour:
m_ChildScaleWidth: 0
m_ChildScaleHeight: 0
m_ReverseArrangement: 0
+--- !u!114 &1438379834
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1438379831}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 60ebf93c4e7b5469f80592685f22f30b, type: 3}
+ m_Name:
+ m_EditorClassIdentifier: Assembly-CSharp::DirectorySelect
+ fileDirectory:
--- !u!1 &1507575551
GameObject:
m_ObjectHideFlags: 0
@@ -2355,6 +2383,51 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1606638825}
m_CullTransparentMesh: 1
+--- !u!1 &1617455199
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1617455200}
+ - component: {fileID: 1617455201}
+ m_Layer: 0
+ m_Name: Manager
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &1617455200
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1617455199}
+ serializedVersion: 2
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 252.14377, y: 106.56857, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!114 &1617455201
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1617455199}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 42951d307a33b48fa96e3f52010a70e3, type: 3}
+ m_Name:
+ m_EditorClassIdentifier: Assembly-CSharp::FrameCounter
+ frame: 60
--- !u!1 &1620218703
GameObject:
m_ObjectHideFlags: 0
@@ -2944,7 +3017,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
- m_SizeDelta: {x: 0, y: 0}
+ m_SizeDelta: {x: -20, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &2042913672
MonoBehaviour:
@@ -3318,3 +3391,4 @@ SceneRoots:
- {fileID: 619394802}
- {fileID: 1840589191}
- {fileID: 1771175907}
+ - {fileID: 1617455200}
diff --git a/Assets/Scripts.meta b/Assets/Scripts.meta
new file mode 100644
index 0000000..7e838e0
--- /dev/null
+++ b/Assets/Scripts.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 35a9e9b414fc94c19adeb3c6ed001fc2
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Scripts/DirectorySelect.cs b/Assets/Scripts/DirectorySelect.cs
new file mode 100644
index 0000000..dc4141d
--- /dev/null
+++ b/Assets/Scripts/DirectorySelect.cs
@@ -0,0 +1,87 @@
+using TMPro;
+using UnityEngine;
+
+
+public class DirectorySelect : MonoBehaviour
+{
+ const string BASIC_DIRECTORY = "C://";
+ public string fileDirectory;
+
+ // OS별 기본 경로를 const 대신 static readonly 또는 private 필드로 정의
+ private static readonly string WINDOWS_DIRECTORY = "C:\\"; // Windows 경로는 이중 백슬래시를 사용하거나 @"C:\" 형태로 사용하는 것이 일반적입니다.
+ private static readonly string MAC_LINUX_DIRECTORY = "/Users/"; // macOS/Linux의 일반적인 사용자 홈 디렉토리 시작점
+
+ TMP_InputField inputDirectory;
+
+ // Start is called once before the first execution of Update after the MonoBehaviour is created
+ void Start()
+ {
+ inputDirectory = GetComponentInChildren();
+ // OS에 맞는 기본 경로 설정
+ string basicDirectory = GetBasicDirectory();
+ inputDirectory.text = basicDirectory;
+
+
+ }
+
+ public void Search()
+ {
+ StandaloneFileBrowser.OpenFolderPanelAsync(
+ "폴더 선택", // 팝업 제목
+ "", // 기본 디렉토리
+ false, // 다중 폴더 선택 허용 여부 (false: 1개만 선택)
+ (string[] paths) => {
+ if (paths.Length > 0)
+ {
+ string selectedPath = paths[0];
+ Debug.Log("선택된 폴더 경로: " + selectedPath);
+ // TODO: 선택된 폴더 경로를 사용하여 로직 구현
+ }
+ else
+ {
+ Debug.Log("폴더 선택 취소됨.");
+ }
+ }
+ );
+ }
+
+ // Update is called once per frame
+ void Update()
+ {
+
+ }
+
+ ///
+ /// 현재 실행 환경의 OS에 맞는 기본 경로를 반환합니다.
+ ///
+ string GetBasicDirectory()
+ {
+ // Application.platform을 사용하여 현재 OS를 확인합니다.
+ // RuntimePlatform.OSXEditor, RuntimePlatform.OSXPlayer,
+ // RuntimePlatform.LinuxEditor, RuntimePlatform.LinuxPlayer 등 여러 플랫폼이 있습니다.
+ // macOS와 Linux는 파일 시스템 구조가 유사합니다 (슬래시 / 사용).
+ // 유니티 편집기(Editor)나 빌드된 플레이어(Player) 모두에서 확인 가능합니다.
+
+ if (Application.platform == RuntimePlatform.WindowsPlayer ||
+ Application.platform == RuntimePlatform.WindowsEditor)
+ {
+ // Windows
+ return WINDOWS_DIRECTORY;
+ }
+ else if (Application.platform == RuntimePlatform.OSXPlayer ||
+ Application.platform == RuntimePlatform.OSXEditor ||
+ Application.platform == RuntimePlatform.LinuxPlayer ||
+ Application.platform == RuntimePlatform.LinuxEditor)
+ {
+ // macOS (OSX) 및 Linux
+ return MAC_LINUX_DIRECTORY;
+ }
+ else
+ {
+ // 기타 플랫폼 (예: WebGL, Android, iOS)
+ // macOS/Linux와 동일한 경로를 기본값으로 사용하거나,
+ // 해당 플랫폼에 맞는 다른 경로를 반환할 수 있습니다.
+ return MAC_LINUX_DIRECTORY;
+ }
+ }
+}
diff --git a/Assets/Scripts/DirectorySelect.cs.meta b/Assets/Scripts/DirectorySelect.cs.meta
new file mode 100644
index 0000000..17bc349
--- /dev/null
+++ b/Assets/Scripts/DirectorySelect.cs.meta
@@ -0,0 +1,2 @@
+fileFormatVersion: 2
+guid: 60ebf93c4e7b5469f80592685f22f30b
\ No newline at end of file
diff --git a/Assets/Scripts/FrameCounter.cs b/Assets/Scripts/FrameCounter.cs
new file mode 100644
index 0000000..b80d93e
--- /dev/null
+++ b/Assets/Scripts/FrameCounter.cs
@@ -0,0 +1,13 @@
+using UnityEngine;
+
+public class FrameCounter : MonoBehaviour
+{
+ [SerializeField]
+ [Range(0, 120)]
+ int frame = 60;
+
+ void Start()
+ {
+ Application.targetFrameRate = frame;
+ }
+}
diff --git a/Assets/Scripts/FrameCounter.cs.meta b/Assets/Scripts/FrameCounter.cs.meta
new file mode 100644
index 0000000..24bd32f
--- /dev/null
+++ b/Assets/Scripts/FrameCounter.cs.meta
@@ -0,0 +1,2 @@
+fileFormatVersion: 2
+guid: 42951d307a33b48fa96e3f52010a70e3
\ No newline at end of file