Fix reset button
This commit is contained in:
@@ -53,7 +53,7 @@ public class CustomGamePlayerPauseMenu : MonoBehaviour
|
|||||||
resetUiButton.onClick.AddListener(() =>
|
resetUiButton.onClick.AddListener(() =>
|
||||||
{
|
{
|
||||||
((RectTransform)scoreText.transform).anchoredPosition = new Vector2(0f, -70f);
|
((RectTransform)scoreText.transform).anchoredPosition = new Vector2(0f, -70f);
|
||||||
((RectTransform)boostText.transform).anchoredPosition = new Vector2(0f, -190f);
|
((RectTransform)boostText.transform).anchoredPosition = new Vector2(0f, -140f);
|
||||||
PlayerPrefs.DeleteKey("DraggedUIScoreText");
|
PlayerPrefs.DeleteKey("DraggedUIScoreText");
|
||||||
PlayerPrefs.DeleteKey("DraggedUIBoostTextCustom");
|
PlayerPrefs.DeleteKey("DraggedUIBoostTextCustom");
|
||||||
if (Application.isMobilePlatform)
|
if (Application.isMobilePlatform)
|
||||||
|
|||||||
Reference in New Issue
Block a user