초월 완료

This commit is contained in:
Ino 2025-02-17 08:33:59 +09:00
parent cee532ac13
commit cbf1856ec8
8 changed files with 814 additions and 974 deletions

View File

Before

Width:  |  Height:  |  Size: 379 B

After

Width:  |  Height:  |  Size: 379 B

View File

@ -49,7 +49,7 @@ TextureImporter:
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteBorder: {x: 28, y: 0, z: 31, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
@ -139,7 +139,7 @@ TextureImporter:
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
internalID: 1537655665
vertices: []
indices:
edges: []

View File

@ -49,7 +49,7 @@ TextureImporter:
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteBorder: {x: 29, y: 0, z: 29, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
@ -139,7 +139,7 @@ TextureImporter:
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
internalID: 1537655665
vertices: []
indices:
edges: []

View File

@ -67,8 +67,8 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 65f581562538e304cbbfe8ee3beab09c, type: 3}
m_Type: 0
m_Sprite: {fileID: 21300000, guid: db35a1b9e39e4de458c0d57038425cec, type: 3}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
@ -213,7 +213,8 @@ MonoBehaviour:
m_text: SS
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: a387e325271126742ad15569dba1ac57, type: 2}
m_sharedMaterial: {fileID: -6459762427321423278, guid: a387e325271126742ad15569dba1ac57, type: 2}
m_sharedMaterial: {fileID: -6459762427321423278, guid: a387e325271126742ad15569dba1ac57,
type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
@ -247,7 +248,7 @@ MonoBehaviour:
m_HorizontalAlignment: 2
m_VerticalAlignment: 4096
m_textAlignment: 65535
m_characterSpacing: 0
m_characterSpacing: -10
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
@ -313,7 +314,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: -2.3}
m_SizeDelta: {x: 150, y: 30}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5401206606955616624
@ -347,7 +348,8 @@ MonoBehaviour:
m_text: "\uCD08\uC6D4 Lv.{0} \uB2EC\uC131 \uC2DC \uC624\uD508"
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: a387e325271126742ad15569dba1ac57, type: 2}
m_sharedMaterial: {fileID: -6459762427321423278, guid: a387e325271126742ad15569dba1ac57, type: 2}
m_sharedMaterial: {fileID: -6459762427321423278, guid: a387e325271126742ad15569dba1ac57,
type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
@ -371,8 +373,8 @@ MonoBehaviour:
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 20
m_fontSizeBase: 20
m_fontSize: 25
m_fontSizeBase: 25
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 10
@ -452,7 +454,7 @@ RectTransform:
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 409, y: 50}
m_SizeDelta: {x: 434.9, y: 55}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &3304588288906622044
MonoBehaviour:
@ -507,8 +509,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
m_AnchoredPosition: {x: -21.5, y: 0}
m_SizeDelta: {x: 30.1, y: 36.4}
m_AnchoredPosition: {x: -46.7, y: -2.2}
m_SizeDelta: {x: 29, y: 26}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6208909203634223397
CanvasRenderer:
@ -538,7 +540,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: e8eebb24bec57fe4da6b7f0fd90a2775, type: 3}
m_Sprite: {fileID: 21300000, guid: 75ecc19dfb3ef224faa822b36cb2a411, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -582,7 +584,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -45, y: 0}
m_AnchoredPosition: {x: -48.7, y: -2.3}
m_SizeDelta: {x: 150, y: 30}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3197066991820702706
@ -616,14 +618,15 @@ MonoBehaviour:
m_text: "\uC2A4\uD0EF \uAC15\uD654 000%"
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: a387e325271126742ad15569dba1ac57, type: 2}
m_sharedMaterial: {fileID: -6459762427321423278, guid: a387e325271126742ad15569dba1ac57, type: 2}
m_sharedMaterial: {fileID: -6459762427321423278, guid: a387e325271126742ad15569dba1ac57,
type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4294967295
m_fontColor: {r: 1, g: 1, b: 1, a: 1}
rgba: 4279707977
m_fontColor: {r: 0.28627452, g: 0.16078432, b: 0.09019608, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
@ -640,8 +643,8 @@ MonoBehaviour:
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 20
m_fontSizeBase: 20
m_fontSize: 25
m_fontSizeBase: 25
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 10

File diff suppressed because it is too large Load Diff

View File

@ -54,6 +54,7 @@ public class TabUIBase : uScrollViewMgr
}
}
public void Set_Index(int index) { m_Index = index; }
public int Get_Index() { return m_Index; }
void OnClick_Tab(int index)

View File

@ -1,24 +1,39 @@
using System.Collections.Generic;
using TMPro;
using UnityEngine;
public class PCLimitUI_Right : uScrollViewMgr
{
public TabUIBase m_Tab;
public MoneyForm m_Price;
public TextMeshProUGUI[] texts; // 0 보호 등급
public TextMeshProUGUI[] texts; // 0 보호 등급, 1 각성 재료 보유량
string m_Preset = "1";
int m_matID, m_CurProtectGrade, m_ProtectMaxGrade;
List<TabUIData> list_TabData = new List<TabUIData>
{ new TabUIData{ btnName = "1" }, new TabUIData{ btnName = "2" }, new TabUIData{ btnName = "3" } };
public override void Set()
{
m_matID = table_GlobalValue.Ins.Get_Int("n_BreakingLimitSlotMaterialID");
m_Preset = ServerInfo.Ins.m_ServerData.Equip.LimitPreset.ToString();
m_Tab.Set_Index(ServerInfo.Ins.m_ServerData.Equip.LimitPreset - 1);
for (int i = 0; i < list_TabData.Count; i++)
{
list_TabData[i].onClick = OnClick_Preset;
}
m_Tab.Set(list_TabData);
OnClick_Preset();
}
public override void Set_UI()
{
var sdata = ServerInfo.Ins.m_ServerData;
Set_ScrollView(sdata.Get_LimitSlot(m_Preset));
for (int i = 0; i < list_CardBase.Count; i++)
list_CardBase[i].Set(i + 1);
texts[1].text = NumberFormatter.FormatNumber(sdata.Get_ItemAmount(m_matID));
m_Price.amount.text = NumberFormatter.FormatNumber(Get_Price());
var lv = Mathf.Max(1, sdata.Get_LimitLv());
@ -67,13 +82,13 @@ public class PCLimitUI_Right : uScrollViewMgr
}
public string Get_Preset() { return m_Preset; }
public void OnClick_Preset(string preset)
public void OnClick_Preset()
{
m_Preset = preset;
m_Preset = (m_Tab.Get_Index() + 1).ToString();
var sdata = ServerInfo.Ins.m_ServerData;
sdata.Equip.LimitPreset = int.Parse(m_Preset);
sdata.Equip.LimitPreset.RandomizeCryptoKey();
Set();
Set_UI();
}
public void OnClick_ProtectGrade(int grade)