자잘한 버그 수정
This commit is contained in:
parent
3734303187
commit
eccba0e9e9
|
|
@ -277,14 +277,6 @@ PrefabInstance:
|
||||||
propertyPath: m_AnchorMin.x
|
propertyPath: m_AnchorMin.x
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 4797950767585128335, guid: fd11d2cec9f04a244b8a79b9fad9c7f3, type: 3}
|
|
||||||
propertyPath: m_IsActive
|
|
||||||
value: 1
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 5296450069761795811, guid: fd11d2cec9f04a244b8a79b9fad9c7f3, type: 3}
|
|
||||||
propertyPath: m_IsActive
|
|
||||||
value: 1
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 6231225141918335816, guid: fd11d2cec9f04a244b8a79b9fad9c7f3, type: 3}
|
- target: {fileID: 6231225141918335816, guid: fd11d2cec9f04a244b8a79b9fad9c7f3, type: 3}
|
||||||
propertyPath: m_Name
|
propertyPath: m_Name
|
||||||
value: SystemUI
|
value: SystemUI
|
||||||
|
|
@ -329,10 +321,6 @@ PrefabInstance:
|
||||||
propertyPath: m_LocalEulerAnglesHint.z
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 8135403295614570654, guid: fd11d2cec9f04a244b8a79b9fad9c7f3, type: 3}
|
|
||||||
propertyPath: m_IsActive
|
|
||||||
value: 1
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
m_RemovedComponents: []
|
m_RemovedComponents: []
|
||||||
m_RemovedGameObjects: []
|
m_RemovedGameObjects: []
|
||||||
m_AddedGameObjects: []
|
m_AddedGameObjects: []
|
||||||
|
|
|
||||||
|
|
@ -375,35 +375,29 @@ public class UnitSetUiCtrl : SingletonMonoBehaviour<UnitSetUiCtrl>
|
||||||
case 1:
|
case 1:
|
||||||
return "방어관통력";
|
return "방어관통력";
|
||||||
case 2:
|
case 2:
|
||||||
|
return "치명타 확률";
|
||||||
|
case 3:
|
||||||
return "치명타 대미지";
|
return "치명타 대미지";
|
||||||
default:
|
default:
|
||||||
|
Debug.Log("알수없는 능력치 : " + randStats);
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
case ePart.Armor: //갑옷
|
case ePart.Armor: //갑옷
|
||||||
switch (randStats)
|
switch (randStats)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
return "방어력";
|
|
||||||
case 1:
|
|
||||||
return "체력";
|
return "체력";
|
||||||
|
case 1:
|
||||||
|
return "방어력";
|
||||||
case 2:
|
case 2:
|
||||||
|
return "이동속도";
|
||||||
|
case 3:
|
||||||
return "대미지 감소";
|
return "대미지 감소";
|
||||||
default:
|
default:
|
||||||
|
Debug.Log("알수없는 능력치 : " + randStats);
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
case ePart.Gloves: //장갑
|
case ePart.Gloves: //장갑
|
||||||
switch (randStats)
|
|
||||||
{
|
|
||||||
case 0:
|
|
||||||
return "이동속도";
|
|
||||||
case 1:
|
|
||||||
return "공격속도";
|
|
||||||
case 2:
|
|
||||||
return "공격력";
|
|
||||||
default:
|
|
||||||
return "";
|
|
||||||
}
|
|
||||||
case ePart.Headpiece: //투구
|
|
||||||
switch (randStats)
|
switch (randStats)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
|
|
@ -411,35 +405,60 @@ public class UnitSetUiCtrl : SingletonMonoBehaviour<UnitSetUiCtrl>
|
||||||
case 1:
|
case 1:
|
||||||
return "방어 관통력";
|
return "방어 관통력";
|
||||||
case 2:
|
case 2:
|
||||||
return "체력";
|
return "치명타 확률";
|
||||||
|
case 3:
|
||||||
|
return "치명타 대미지";
|
||||||
default:
|
default:
|
||||||
|
Debug.Log("알수없는 능력치 : " + randStats);
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
case ePart.Headpiece: //투구
|
||||||
|
switch (randStats)
|
||||||
|
{
|
||||||
|
case 0:
|
||||||
|
return "체력";
|
||||||
|
case 1:
|
||||||
|
return "방어력";
|
||||||
|
case 2:
|
||||||
|
return "이동속도";
|
||||||
|
case 3:
|
||||||
|
return "대미지 감소";
|
||||||
|
default:
|
||||||
|
Debug.Log("알수없는 능력치 : " + randStats);
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
case ePart.Shield: //보조장비
|
case ePart.Shield: //보조장비
|
||||||
switch (randStats)
|
switch (randStats)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
return "방어력";
|
return "공격속도";
|
||||||
case 1:
|
case 1:
|
||||||
return "대미지감소";
|
return "이동속도";
|
||||||
case 2:
|
case 2:
|
||||||
return "체력";
|
return "방어 관통력";
|
||||||
|
case 3:
|
||||||
|
return "공격력";
|
||||||
default:
|
default:
|
||||||
|
Debug.Log("알수없는 능력치 : " + randStats);
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
case ePart.Ring: //반지
|
case ePart.Ring: //반지
|
||||||
switch (randStats)
|
switch (randStats)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
return "치명타확률";
|
return "공격속도";
|
||||||
case 1:
|
case 1:
|
||||||
return "이동속도";
|
return "이동속도";
|
||||||
case 2:
|
case 2:
|
||||||
return "공격속도";
|
return "대미지 감소";
|
||||||
|
case 3:
|
||||||
|
return "방어력";
|
||||||
default:
|
default:
|
||||||
|
Debug.Log("알수없는 능력치 : " + randStats);
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
Debug.Log("알수없는 파츠 : " + part);
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -454,8 +473,8 @@ public class UnitSetUiCtrl : SingletonMonoBehaviour<UnitSetUiCtrl>
|
||||||
return equipmentData.stats2.ToString();
|
return equipmentData.stats2.ToString();
|
||||||
case 3:
|
case 3:
|
||||||
return equipmentData.stats3.ToString();
|
return equipmentData.stats3.ToString();
|
||||||
//case 4:
|
case 4:
|
||||||
// return equipmentData.stats4.ToString();
|
return equipmentData.stats4.ToString();
|
||||||
default:
|
default:
|
||||||
return "0";
|
return "0";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,8 @@ using UnityEngine.UI;
|
||||||
public class Statics
|
public class Statics
|
||||||
{
|
{
|
||||||
#if UNITY_EDITOR
|
#if UNITY_EDITOR
|
||||||
public static readonly string url = "https://localhost:4860";
|
//public static readonly string url = "https://localhost:4860";
|
||||||
//public static readonly string url = "https://game.pandoli365.com";
|
public static readonly string url = "https://game.pandoli365.com";
|
||||||
#else
|
#else
|
||||||
public static readonly string url = "https://game.pandoli365.com";
|
public static readonly string url = "https://game.pandoli365.com";
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue