Fixed a few issues

dev-hazim
Hazim Bin Ijaz 1 month ago
parent a6bf8ade40
commit c52b67e0fe

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

@ -15,6 +15,7 @@ U should buy the asset from home store if u use it in your project!
using MS;
using System.Collections.Generic;
using DG.Tweening;
using PlayFab.MultiplayerModels;
using TMPro;
using UnityEngine;
using UnityEngine.SceneManagement;
@ -37,7 +38,7 @@ public class HomeScene : MonoBehaviour
public Toggle musicToggle;
public GameObject NameEnterPanel;
public Popup NameEnterPanel;
public TMP_InputField nameInputField;
@ -103,14 +104,14 @@ public class HomeScene : MonoBehaviour
}
else
{
NameEnterPanel.GetComponent<CanvasGroup>().DOFade(1,0.5f);
NameEnterPanel.Open();
}
}
public void OnDisplayNameEntered()
{
PlayFabManager.Instance.playFabLeaderboards.SetDisplayName(nameInputField.text);
PlayerPrefs.SetInt(GameConstants.NameEnteredCheckKey,1);
NameEnterPanel.GetComponent<CanvasGroup>().DOFade(0, 0.5f);
NameEnterPanel.Close();
}
private void SetupSettingToggle()

Loading…
Cancel
Save