0.4.0.7
This commit is contained in:
parent
a74b953c32
commit
f8771168cc
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 61024edd9ea49c94fad0f340e178e18c
|
||||
guid: 875b1d38fdf6b3342ab8c8c23fb7cf54
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
|
@ -110,20 +110,16 @@ namespace BlueWater
|
||||
|
||||
_ = UpdateUserData(() =>
|
||||
{
|
||||
Debug.Log("Start Set this User");
|
||||
thisUser = new BlueWaterRankUserData();
|
||||
thisUser.Id = GetOriginalUserID();
|
||||
thisUser.Round = int.Parse(TycoonManager.Instance.GetCurrentLevelData().Idx);
|
||||
thisUser.Gold = resultUi._goldSpent;
|
||||
thisUser.Time = (int)resultUi._playTime;
|
||||
thisUser.Tries = ES3.Load(SaveData.Tries, 0);
|
||||
Debug.Log("End Set this User");
|
||||
|
||||
int i = 0;
|
||||
for (; i < 102; i++) //__Root포함 탐색 (최대 랭크 100위 + Root + 자기자신 = 102)
|
||||
{
|
||||
|
||||
Debug.Log(i);
|
||||
if (i < UserDatas.Count)
|
||||
{
|
||||
if (UserDatas[i].Round > thisUser.Round) {continue;}
|
||||
|
@ -72,7 +72,7 @@ namespace BlueWater
|
||||
|
||||
while (elapsedTime < duration)
|
||||
{
|
||||
elapsedTime += Time.deltaTime;
|
||||
elapsedTime += Time.unscaledDeltaTime;
|
||||
float newAlpha = Mathf.Lerp(from, to, elapsedTime / duration);
|
||||
GetComponent<Image>().color = new Color(color.r, color.g, color.b, newAlpha);
|
||||
yield return null;
|
||||
|
@ -101,7 +101,7 @@ namespace BlueWater
|
||||
|
||||
public void SetName()
|
||||
{
|
||||
if (_rankOpen)
|
||||
if (_rankOpen && !yourRank.text.Equals("101"))
|
||||
{
|
||||
_firebaseManager.WirteUserDataName(nameTextField.text);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user