Что я сдал

This commit is contained in:
ThomasCharester committed 2026-05-04 22:36:24 +03:00
1 parent 24b1157026
commit a5665f0101
2838 files changed
+129953 -1304

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
using System;
using Code.GameplayServices;
using TMPro;
using UnityEngine;
namespace Code.UI
{
public class PlayerNameSetter : MonoBehaviour
{
[SerializeField] private TMP_InputField playerNameInput;
private void Awake()
{
playerNameInput.onSubmit.AddListener(PlayerScoreService.Instance.SetPlayerName);
}
private void OnDestroy()
{
playerNameInput.onSubmit.RemoveListener(PlayerScoreService.Instance.SetPlayerName);
}
}
}