에셋 동기화

This commit is contained in:
NTG 2025-08-20 08:41:04 +09:00
parent c97117f29f
commit 93545a0f81
4 changed files with 18 additions and 169 deletions

View File

@ -3,14 +3,14 @@
using Sirenix.OdinInspector; using Sirenix.OdinInspector;
using UnityEditor; using UnityEditor;
using UnityEngine; using UnityEngine;
using UnityEditor.AddressableAssets;
namespace DDD namespace DDD
{ {
[CreateAssetMenu(menuName = "DDD/Project Setup Config", fileName = "ProjectDDD_Setup")] [CreateAssetMenu(menuName = "DDD/Project Setup Config", fileName = "ProjectDDD_Setup")]
public sealed class ProjectDDD_Setup : ScriptableObject public sealed class ProjectDDD_Setup : ScriptableObject
{ {
// 로그 프리픽스는 상수로 관리 private const string LogPrefix = "[ProjectDDD_Setup]";
private const string LogPrefix = "[DDD]";
public List<DefaultAsset> DefaultAssets = new(); public List<DefaultAsset> DefaultAssets = new();
public GoogleSheetManager GoogleSheetManager; public GoogleSheetManager GoogleSheetManager;
@ -19,6 +19,22 @@ public sealed class ProjectDDD_Setup : ScriptableObject
public async Task SyncProject() public async Task SyncProject()
{ {
Debug.Log($"{LogPrefix} 프로젝트 동기화 시작"); Debug.Log($"{LogPrefix} 프로젝트 동기화 시작");
// 1) Addressables 기본 설정 및 그룹 보장
var addressableAssetSettings = AddressableAssetSettingsDefaultObject.GetSettings(false);
if (addressableAssetSettings == null)
{
Debug.Log($"{LogPrefix} 기존 Addressables Settings이 없습니다.");
addressableAssetSettings = AddressableAssetSettingsDefaultObject.GetSettings(true);
if (addressableAssetSettings == null)
{
Debug.LogError($"{LogPrefix} Addressables Settings생성에 실패했습니다.");
return;
}
Debug.Log($"{LogPrefix} Addressables Settings 기본값으로 생성했습니다.");
}
foreach (var asset in DefaultAssets) foreach (var asset in DefaultAssets)
{ {

View File

@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 788fafe215b9ac349b00c67ae25b2fb1
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@ -1,156 +0,0 @@
fileFormatVersion: 2
guid: 189d780f1507008429f2cdd1a2b4c9e8
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 13
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 1
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 2
spriteMeshType: 0
alignment: 9
spritePivot: {x: 0.5, y: 0}
spritePixelsToUnits: 512
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 4
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 0
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: WindowsStoreApps
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: iOS
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 0
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
customData:
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spriteCustomMetadata:
entries: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant: