"1. 수집 게임의 충전 시간이 수집게임 화면에 있지 않을 경우에도 적용되어야 합니다.
2. 럭키 보너스가 채워질 때 럭키 보너스 게이지의 %의 소수점은 보이지 않도록 수정 바랍니다. 3. 럭키 보너스 획득 후 숫자 연출 때 + 표시를 넣어주시고, 숫자 올라가는 최대 높이를 현재의 절반으로 변경바랍니다. 4. 럭키 보너스가 부족할 때 나오는 토스트 메시지가 ""클로버가 부족합니다"" 에서 ""럭키 포인트가 부족합니다.""로 변경 바랍니다."
This commit is contained in:
parent
393d6f3e15
commit
43d007bb56
|
|
@ -66,7 +66,7 @@ AnimationClip:
|
||||||
outWeight: 0.33333334
|
outWeight: 0.33333334
|
||||||
- serializedVersion: 3
|
- serializedVersion: 3
|
||||||
time: 0.8333333
|
time: 0.8333333
|
||||||
value: 150
|
value: 75
|
||||||
inSlope: 0
|
inSlope: 0
|
||||||
outSlope: 0
|
outSlope: 0
|
||||||
tangentMode: 136
|
tangentMode: 136
|
||||||
|
|
@ -264,7 +264,7 @@ AnimationClip:
|
||||||
outWeight: 0.33333334
|
outWeight: 0.33333334
|
||||||
- serializedVersion: 3
|
- serializedVersion: 3
|
||||||
time: 0.8333333
|
time: 0.8333333
|
||||||
value: 150
|
value: 75
|
||||||
inSlope: 0
|
inSlope: 0
|
||||||
outSlope: 0
|
outSlope: 0
|
||||||
tangentMode: 136
|
tangentMode: 136
|
||||||
|
|
|
||||||
|
|
@ -2784,7 +2784,7 @@ RectTransform:
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0}
|
m_AnchorMin: {x: 0.5, y: 0}
|
||||||
m_AnchorMax: {x: 0.5, y: 0}
|
m_AnchorMax: {x: 0.5, y: 0}
|
||||||
m_AnchoredPosition: {x: 2756, y: -25.000015}
|
m_AnchoredPosition: {x: 2756, y: -25}
|
||||||
m_SizeDelta: {x: 0, y: 0}
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!61 &85415561
|
--- !u!61 &85415561
|
||||||
|
|
@ -15865,7 +15865,7 @@ RectTransform:
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0}
|
m_AnchorMin: {x: 0.5, y: 0}
|
||||||
m_AnchorMax: {x: 0.5, y: 0}
|
m_AnchorMax: {x: 0.5, y: 0}
|
||||||
m_AnchoredPosition: {x: -2756, y: -25.000015}
|
m_AnchoredPosition: {x: -2756, y: -25}
|
||||||
m_SizeDelta: {x: 0, y: 0}
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!61 &420248622
|
--- !u!61 &420248622
|
||||||
|
|
@ -62590,7 +62590,7 @@ RectTransform:
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0, y: 0}
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
m_AnchorMax: {x: 1, y: 1}
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
m_AnchoredPosition: {x: 0, y: -55.77272}
|
m_AnchoredPosition: {x: 0, y: -55.772705}
|
||||||
m_SizeDelta: {x: 0, y: -111.5455}
|
m_SizeDelta: {x: 0, y: -111.5455}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!1 &1630921640
|
--- !u!1 &1630921640
|
||||||
|
|
|
||||||
|
|
@ -184,7 +184,7 @@ public class SaveMgr : MonoBehaviourSingletonTemplate<SaveMgr>
|
||||||
LobbyUI.Ins.m_ToastUI.Set("뽑기 재화가 부족합니다.");
|
LobbyUI.Ins.m_ToastUI.Set("뽑기 재화가 부족합니다.");
|
||||||
break;
|
break;
|
||||||
case eMoney.Lucky:
|
case eMoney.Lucky:
|
||||||
LobbyUI.Ins.m_ToastUI.Set("클로버가 부족합니다.");
|
LobbyUI.Ins.m_ToastUI.Set("럭키 포인트가 부족합니다.");
|
||||||
break;
|
break;
|
||||||
case eMoney.MiniGameHP:
|
case eMoney.MiniGameHP:
|
||||||
case eMoney.ItemBomb:
|
case eMoney.ItemBomb:
|
||||||
|
|
|
||||||
|
|
@ -76,7 +76,7 @@ public class GachaUI : uScrollViewMgr
|
||||||
slider_lucky[0].value = slider_lucky[1].value = DSUtil.Get_SliderValue(cal);
|
slider_lucky[0].value = slider_lucky[1].value = DSUtil.Get_SliderValue(cal);
|
||||||
slider_lucky2[0].value = slider_lucky2[1].value = DSUtil.Get_SliderValue(cal - 1f);
|
slider_lucky2[0].value = slider_lucky2[1].value = DSUtil.Get_SliderValue(cal - 1f);
|
||||||
images_slider[0].color = images_slider[1].color = Color.white;
|
images_slider[0].color = images_slider[1].color = Color.white;
|
||||||
texts[0].text = MyText.Get_PercentValueText_100(cal > 2f ? 2f : cal);
|
texts[0].text = MyText.Get_PercentValueText_100_NoPoint(cal > 2f ? 2f : cal);
|
||||||
Set_SliderHandle();
|
Set_SliderHandle();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -115,12 +115,12 @@ public class GachaUI : uScrollViewMgr
|
||||||
elapsed += Time.deltaTime;
|
elapsed += Time.deltaTime;
|
||||||
float t = Mathf.Clamp01(elapsed / duration);
|
float t = Mathf.Clamp01(elapsed / duration);
|
||||||
slider.value = Mathf.Lerp(startValue1, targetValue1, t);
|
slider.value = Mathf.Lerp(startValue1, targetValue1, t);
|
||||||
texts[0].text = MyText.Get_PercentValueText_100(slider.value + slider2.value);
|
texts[0].text = MyText.Get_PercentValueText_100_NoPoint(slider.value + slider2.value);
|
||||||
Set_SliderHandle();
|
Set_SliderHandle();
|
||||||
yield return null;
|
yield return null;
|
||||||
}
|
}
|
||||||
slider.value = targetValue1;
|
slider.value = targetValue1;
|
||||||
texts[0].text = MyText.Get_PercentValueText_100(slider.value + slider2.value);
|
texts[0].text = MyText.Get_PercentValueText_100_NoPoint(slider.value + slider2.value);
|
||||||
|
|
||||||
// slider_lucky2 다음
|
// slider_lucky2 다음
|
||||||
elapsed = 0f;
|
elapsed = 0f;
|
||||||
|
|
@ -130,12 +130,12 @@ public class GachaUI : uScrollViewMgr
|
||||||
elapsed += Time.deltaTime;
|
elapsed += Time.deltaTime;
|
||||||
float t = Mathf.Clamp01(elapsed / duration);
|
float t = Mathf.Clamp01(elapsed / duration);
|
||||||
slider2.value = Mathf.Lerp(startValue2, targetValue2, t);
|
slider2.value = Mathf.Lerp(startValue2, targetValue2, t);
|
||||||
texts[0].text = MyText.Get_PercentValueText_100(slider.value + slider2.value);
|
texts[0].text = MyText.Get_PercentValueText_100_NoPoint(slider.value + slider2.value);
|
||||||
Set_SliderHandle();
|
Set_SliderHandle();
|
||||||
yield return null;
|
yield return null;
|
||||||
}
|
}
|
||||||
slider2.value = targetValue2;
|
slider2.value = targetValue2;
|
||||||
texts[0].text = MyText.Get_PercentValueText_100(slider.value + slider2.value);
|
texts[0].text = MyText.Get_PercentValueText_100_NoPoint(slider.value + slider2.value);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Set_Money()
|
void Set_Money()
|
||||||
|
|
@ -248,7 +248,7 @@ public class GachaUI : uScrollViewMgr
|
||||||
{
|
{
|
||||||
if (texts_luckypoint[i].alpha <= 0f)
|
if (texts_luckypoint[i].alpha <= 0f)
|
||||||
{
|
{
|
||||||
texts_luckypoint[i].text = reward.Item3.ToString();
|
texts_luckypoint[i].text = $"+{reward.Item3}";
|
||||||
texts_luckypoint[i].GetComponent<Animation>().Play();
|
texts_luckypoint[i].GetComponent<Animation>().Play();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,12 @@
|
||||||
using System.Data;
|
using System;
|
||||||
|
|
||||||
public static class MyText
|
public static class MyText
|
||||||
{
|
{
|
||||||
|
public static string Get_PercentValueText_100_NoPoint(double _v)
|
||||||
|
{
|
||||||
|
int percent = (int)Math.Round(_v * 100.0); // double → int 확정 변환
|
||||||
|
return percent.ToString() + "%"; // 문자열 변환 후 % 붙이기
|
||||||
|
}
|
||||||
public static string Get_PercentValueText_100(double _v) { return DSUtil.Format("{0:#,##0.##}%", _v * 100d); }
|
public static string Get_PercentValueText_100(double _v) { return DSUtil.Format("{0:#,##0.##}%", _v * 100d); }
|
||||||
public static string Get_PercentValueText(double _v) { return DSUtil.Format("{0:#,##0.##}%", _v); }
|
public static string Get_PercentValueText(double _v) { return DSUtil.Format("{0:#,##0.##}%", _v); }
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue