디폴트 설정 데이터 추가
- 더미로 미리 추가
This commit is contained in:
8
Assets/Data/ScriptableObjects/DefaultSettings.meta
Normal file
8
Assets/Data/ScriptableObjects/DefaultSettings.meta
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 67f25a0ab843c4442a888ec5bf93eb4c
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -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
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 3b35d0d04482aef4c8aa9547f95ccb6d
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
25
Assets/Data/Scripts/DataClasses/DefaultSettingsData.cs
Normal file
25
Assets/Data/Scripts/DataClasses/DefaultSettingsData.cs
Normal file
@@ -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("기본 정보")]
|
||||||
|
/// <summary>고유 ID</summary>
|
||||||
|
public int id;
|
||||||
|
/// <summary>기획 메모</summary>
|
||||||
|
public string memo;
|
||||||
|
/// <summary>사용될 scene 입력 (유니티 파일명과 맞춰야 함) • GameMain • 빈 칸이면 모든 씬 허용</summary>
|
||||||
|
public string scene;
|
||||||
|
/// <summary>조회 키</summary>
|
||||||
|
public string key;
|
||||||
|
/// <summary>값</summary>
|
||||||
|
public string value;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b027786bddd56ca4eae2dbcb25d06eb2
|
||||||
32
GameData/.DefaultSettings_schema.json
Normal file
32
GameData/.DefaultSettings_schema.json
Normal file
@@ -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": "값"
|
||||||
|
}
|
||||||
|
]
|
||||||
2
GameData/DefaultSettings.csv
Normal file
2
GameData/DefaultSettings.csv
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
id,memo,scene,key,value
|
||||||
|
1,test,1,1,1
|
||||||
|
Reference in New Issue
Block a user