Commit bfcf05cb authored by 18신대성's avatar 18신대성

총알 툴팁 스테이지마다 다르게 표시됨

parent 9a77fa42
......@@ -154,9 +154,9 @@ MonoBehaviour:
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1.36
m_LineSpacing: 1.15
m_Text: "\uAC70\uC6B8, \uD130\uB81B\uC744 \uD30C\uAD34\uD568\n\uCD08\uB85D \uC11C\uB958\uAC00\uBC29\uC5D0\uC11C
\uC81C\uACF5"
\uC81C\uACF5\n\uAC80\uC740 \uB9C8\uB124\uD0B9\uC744 \uD76C\uAC8C \uB9CC\uB4E6"
--- !u!114 &2928030034610582071
MonoBehaviour:
m_ObjectHideFlags: 0
......
......@@ -38,7 +38,7 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.008140711, g: 0.017305307, b: 0.031839028, a: 1}
m_IndirectSpecularColor: {r: 0.008611666, g: 0.017652817, b: 0.03286174, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
......@@ -750,7 +750,7 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 342512061}
m_CullTransparentMesh: 0
--- !u!84 &342747669
--- !u!84 &377781952
RenderTexture:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
......@@ -1023,43 +1023,8 @@ MonoBehaviour:
sourceCamera: {fileID: 534669904}
outlineCamera: {fileID: 1548020010}
outlineShaderMaterial: {fileID: 0}
renderTexture: {fileID: 599174148}
extraRenderTexture: {fileID: 342747669}
--- !u!84 &599174148
RenderTexture:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name:
m_ImageContentsHash:
serializedVersion: 2
Hash: 00000000000000000000000000000000
m_ForcedFallbackFormat: 4
m_DownscaleFallback: 0
serializedVersion: 3
m_Width: 1920
m_Height: 1080
m_AntiAliasing: 1
m_MipCount: -1
m_DepthFormat: 1
m_ColorFormat: 4
m_MipMap: 0
m_GenerateMips: 1
m_SRGB: 1
m_UseDynamicScale: 0
m_BindMS: 0
m_EnableCompatibleFormat: 1
m_TextureSettings:
serializedVersion: 2
m_FilterMode: 1
m_Aniso: 1
m_MipBias: 0
m_WrapU: 1
m_WrapV: 1
m_WrapW: 1
m_Dimension: 2
m_VolumeDepth: 1
renderTexture: {fileID: 1768022449}
extraRenderTexture: {fileID: 377781952}
--- !u!1 &666076611
GameObject:
m_ObjectHideFlags: 0
......@@ -1913,7 +1878,7 @@ Camera:
serializedVersion: 2
m_Bits: 0
m_RenderingPath: 1
m_TargetTexture: {fileID: 599174148}
m_TargetTexture: {fileID: 1768022449}
m_TargetDisplay: 0
m_TargetEye: 3
m_HDR: 0
......@@ -2106,6 +2071,41 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1745203029}
m_CullTransparentMesh: 0
--- !u!84 &1768022449
RenderTexture:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name:
m_ImageContentsHash:
serializedVersion: 2
Hash: 00000000000000000000000000000000
m_ForcedFallbackFormat: 4
m_DownscaleFallback: 0
serializedVersion: 3
m_Width: 1920
m_Height: 1080
m_AntiAliasing: 1
m_MipCount: -1
m_DepthFormat: 1
m_ColorFormat: 4
m_MipMap: 0
m_GenerateMips: 1
m_SRGB: 1
m_UseDynamicScale: 0
m_BindMS: 0
m_EnableCompatibleFormat: 1
m_TextureSettings:
serializedVersion: 2
m_FilterMode: 1
m_Aniso: 1
m_MipBias: 0
m_WrapU: 1
m_WrapV: 1
m_WrapW: 1
m_Dimension: 2
m_VolumeDepth: 1
--- !u!1 &1805734953
GameObject:
m_ObjectHideFlags: 0
......@@ -2202,7 +2202,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!224 &1839944656
RectTransform:
m_ObjectHideFlags: 0
......
......@@ -37,13 +37,18 @@ public class BulletUIGenerator : MonoBehaviour
bulletUIInst.GetComponent<Image>().sprite = truthBullet;
bulletUIInst.GetComponent<BulletHoverUI>().headerText.text = "진실탄";
bulletUIInst.GetComponent<BulletHoverUI>().headerText.color = Color.green;
bulletUIInst.GetComponent<BulletHoverUI>().bodyText.text = "거울, 터렛을 파괴함\n초록 서류가방에서 제공";
if (GameManager.inst.stageStrIdx[0].Equals('1')) bulletUIInst.GetComponent<BulletHoverUI>().bodyText.text = "거울을 파괴함";
else if (GameManager.inst.stageStrIdx[0].Equals('2')) bulletUIInst.GetComponent<BulletHoverUI>().bodyText.text = "거울을 파괴함\n초록 서류가방에서 제공";
else if (GameManager.inst.stageStrIdx[0].Equals('3')) bulletUIInst.GetComponent<BulletHoverUI>().bodyText.text = "거울, 터렛을 파괴함\n초록 서류가방에서 제공";
else bulletUIInst.GetComponent<BulletHoverUI>().bodyText.text = "거울, 터렛을 파괴함\n초록 서류가방에서 제공\n검은 마네킹을 희게 만듦";
break;
case BulletCode.False:
bulletUIInst.GetComponent<Image>().sprite = falseBullet;
bulletUIInst.GetComponent<BulletHoverUI>().headerText.text = "거짓탄";
bulletUIInst.GetComponent<BulletHoverUI>().headerText.color = Color.red;
bulletUIInst.GetComponent<BulletHoverUI>().bodyText.text = "거울의 상을 실제로 만듦\n빨간 서류가방에서 제공";
if (GameManager.inst.stageStrIdx[0].Equals('1')) bulletUIInst.GetComponent<BulletHoverUI>().bodyText.text = "거울의 상을 실제로 만듦";
else if (GameManager.inst.stageStrIdx[0].Equals('2') || GameManager.inst.stageStrIdx[0].Equals('3')) bulletUIInst.GetComponent<BulletHoverUI>().bodyText.text = "거울의 상을 실제로 만듦\n빨간 서류가방에서 제공";
else bulletUIInst.GetComponent<BulletHoverUI>().bodyText.text = "거울의 상을 실제로 만듦\n빨간 서류가방에서 제공\n흰 마네킹을 검게 만듦";
break;
case BulletCode.Mirror:
bulletUIInst.GetComponent<Image>().sprite = mirrBullet;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment