From 0df40f9065f70f01c367c3e46f4c1b403952d875 Mon Sep 17 00:00:00 2001 From: nakjun Date: Tue, 14 Jul 2026 12:15:48 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/01_Scenes/Hischool_Chapter1.unity | 4 +- Assets/02_Scripts/Managers/LocalManager.cs | 3 + .../02_Scripts/Managers/SceneLoadManager.cs | 12 +- Assets/05_Textures/CaffebeneLogo.png | 3 + Assets/05_Textures/CaffebeneLogo.png.meta | 156 ++++++++++++++++++ 5 files changed, 170 insertions(+), 8 deletions(-) create mode 100644 Assets/05_Textures/CaffebeneLogo.png create mode 100644 Assets/05_Textures/CaffebeneLogo.png.meta diff --git a/Assets/01_Scenes/Hischool_Chapter1.unity b/Assets/01_Scenes/Hischool_Chapter1.unity index eb73496c..fadd91b9 100644 --- a/Assets/01_Scenes/Hischool_Chapter1.unity +++ b/Assets/01_Scenes/Hischool_Chapter1.unity @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5d81fd1483ad63059bea24240a9c28fe21b18412ff1b019bc0dea6821ffd036b -size 4035672 +oid sha256:f42c377fa891800b00929876d9a11d2b7af9d207aa48aa93d6e7fb131d3a4546 +size 4040990 diff --git a/Assets/02_Scripts/Managers/LocalManager.cs b/Assets/02_Scripts/Managers/LocalManager.cs index 41dab4a5..2e5dcd83 100644 --- a/Assets/02_Scripts/Managers/LocalManager.cs +++ b/Assets/02_Scripts/Managers/LocalManager.cs @@ -17,6 +17,7 @@ public class LocalManager : MonoBehaviour [SerializeField] private VolumeProfile _grayscaleProfile; // 씬에 이미 있는 글로벌 볼륨 — 새로 만들지 않고 이 볼륨의 프로파일을 흑백으로 교체한다 [SerializeField] private Volume _globalVolume; + [SerializeField] private GameObject CaffebeneImgObj; public void NextScene(int delay) { @@ -36,12 +37,14 @@ private async Awaitable CaffebeneSequence(int delay) await Awaitable.WaitForSecondsAsync((float)delay); PauseAllAnimations(); + CaffebeneImgObj.SetActive(true); await FadeToGrayscale(_grayscaleFadeTime); SoundManager.Instance.PlayOverrideBGM(_caffebeneBGM); await Awaitable.WaitForSecondsAsync(_caffebeneSceneChangeDelay, destroyCancellationToken); + CaffebeneImgObj.SetActive(false); SceneLoadManager.Instance.RequestSceneChange(_nextSceneName); } catch (System.OperationCanceledException) diff --git a/Assets/02_Scripts/Managers/SceneLoadManager.cs b/Assets/02_Scripts/Managers/SceneLoadManager.cs index 04e60d47..207d3962 100644 --- a/Assets/02_Scripts/Managers/SceneLoadManager.cs +++ b/Assets/02_Scripts/Managers/SceneLoadManager.cs @@ -193,13 +193,13 @@ private async Awaitable SceneChange(string sceneName) //로딩바 수치 0으로 설정 SetSceneLoadingProgressValue(0f); - //스카이 박스 페이드 아웃 - await FadeSkybox(_skyboxNormalExposure, 0f, _skyboxFadeTime); - - // 시야(암전 구체)도 완전히 어두워질 때까지 페이드 — 아래 교체/이동 순간을 씬 오브젝트째로 가린다 + // 시야(암전 구체) 완전히 어두워질 때까지 페이드 var pc = GameManager.Instance != null ? GameManager.Instance.PController : null; if (pc != null) - await pc.FadeSight(false, 1f); + await pc.FadeSight(false, 0.8f); + + //스카이 박스 페이드 아웃 + await FadeSkybox(_skyboxNormalExposure, 0f, _skyboxFadeTime); // 검게 된 상태에서 머티리얼 교체 (교체 순간이 가려져 깜빡임 없음) RenderSettings.skybox = _runtimeLoadingSkybox; @@ -210,7 +210,7 @@ private async Awaitable SceneChange(string sceneName) // 로딩 룸에 도착했으니 시야를 다시 연다 (스카이박스 페이드 인과 동시 진행) if (pc != null) - _ = pc.FadeSight(true, 1f); + _ = pc.FadeSight(true, 0.8f); //스카이 박스 페이드 인 await FadeSkybox(0f, _skyboxNormalExposure, _skyboxFadeTime); diff --git a/Assets/05_Textures/CaffebeneLogo.png b/Assets/05_Textures/CaffebeneLogo.png new file mode 100644 index 00000000..ee7d3bfe --- /dev/null +++ b/Assets/05_Textures/CaffebeneLogo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f98b59d2717643ea26d5dc94ba203aa03429b5432a0b3911e10b1503926fce73 +size 16292 diff --git a/Assets/05_Textures/CaffebeneLogo.png.meta b/Assets/05_Textures/CaffebeneLogo.png.meta new file mode 100644 index 00000000..a2f41bee --- /dev/null +++ b/Assets/05_Textures/CaffebeneLogo.png.meta @@ -0,0 +1,156 @@ +fileFormatVersion: 2 +guid: fcdd7a57f30c151448a6f73f970d2003 +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: 0 + 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: 0 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 256 + 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: 1 + 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: WebGL + 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 + 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: