diff --git a/Assets/Data/ScriptableObjects/DefaultSettings.meta b/Assets/Data/ScriptableObjects/DefaultSettings.meta new file mode 100644 index 0000000..93315b2 --- /dev/null +++ b/Assets/Data/ScriptableObjects/DefaultSettings.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 67f25a0ab843c4442a888ec5bf93eb4c +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Data/ScriptableObjects/DefaultSettings/DefaultSettings001.asset b/Assets/Data/ScriptableObjects/DefaultSettings/DefaultSettings001.asset new file mode 100644 index 0000000..37abc4d --- /dev/null +++ b/Assets/Data/ScriptableObjects/DefaultSettings/DefaultSettings001.asset @@ -0,0 +1,19 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: b027786bddd56ca4eae2dbcb25d06eb2, type: 3} + m_Name: DefaultSettings001 + m_EditorClassIdentifier: Assembly-CSharp::Northbound.Data.DefaultSettingsData + id: 1 + memo: test + scene: 1 + key: 1 + value: 1 diff --git a/Assets/Data/ScriptableObjects/DefaultSettings/DefaultSettings001.asset.meta b/Assets/Data/ScriptableObjects/DefaultSettings/DefaultSettings001.asset.meta new file mode 100644 index 0000000..cd6a8cc --- /dev/null +++ b/Assets/Data/ScriptableObjects/DefaultSettings/DefaultSettings001.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3b35d0d04482aef4c8aa9547f95ccb6d +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Data/Scripts/DataClasses/DefaultSettingsData.cs b/Assets/Data/Scripts/DataClasses/DefaultSettingsData.cs new file mode 100644 index 0000000..1d2fbff --- /dev/null +++ b/Assets/Data/Scripts/DataClasses/DefaultSettingsData.cs @@ -0,0 +1,25 @@ +// 이 파일은 자동 생성되었습니다. 직접 수정하지 마세요! +// 생성 스크립트: DataTools/generate_csharp_classes.py + +using UnityEngine; +using System.Collections.Generic; // 리스트 지원을 위해 추가 + +namespace Northbound.Data +{ + [CreateAssetMenu(fileName = "DefaultSettingsData", menuName = "Northbound/DefaultSettings Data")] + public class DefaultSettingsData : ScriptableObject + { + [Header("기본 정보")] + /// 고유 ID + public int id; + /// 기획 메모 + public string memo; + /// 사용될 scene 입력 (유니티 파일명과 맞춰야 함) • GameMain • 빈 칸이면 모든 씬 허용 + public string scene; + /// 조회 키 + public string key; + /// + public string value; + + } +} \ No newline at end of file diff --git a/Assets/Data/Scripts/DataClasses/DefaultSettingsData.cs.meta b/Assets/Data/Scripts/DataClasses/DefaultSettingsData.cs.meta new file mode 100644 index 0000000..c80f852 --- /dev/null +++ b/Assets/Data/Scripts/DataClasses/DefaultSettingsData.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b027786bddd56ca4eae2dbcb25d06eb2 \ No newline at end of file diff --git a/GameData/.DefaultSettings_schema.json b/GameData/.DefaultSettings_schema.json new file mode 100644 index 0000000..b7471ad --- /dev/null +++ b/GameData/.DefaultSettings_schema.json @@ -0,0 +1,32 @@ +[ + { + "name": "id", + "type": "int", + "condition": null, + "description": "고유 ID" + }, + { + "name": "memo", + "type": "string", + "condition": null, + "description": "기획 메모" + }, + { + "name": "scene", + "type": "string", + "condition": null, + "description": "사용될 scene 입력 (유니티 파일명과 맞춰야 함)\\n • GameMain\\n • 빈 칸이면 모든 씬 허용" + }, + { + "name": "key", + "type": "string", + "condition": null, + "description": "조회 키" + }, + { + "name": "value", + "type": "string", + "condition": null, + "description": "값" + } +] \ No newline at end of file diff --git a/GameData/DefaultSettings.csv b/GameData/DefaultSettings.csv new file mode 100644 index 0000000..200af5f --- /dev/null +++ b/GameData/DefaultSettings.csv @@ -0,0 +1,2 @@ +id,memo,scene,key,value +1,test,1,1,1