public void ChangeActive()
        {
            string text     = _inputField.text;
            string realText = "";

            for (int i = 0; i < text.Length; i++)
            {
                if (text[i] == '.')
                {
                    realText += ',';
                }
                else
                {
                    realText += text[i];
                }
            }

            if (float.TryParse(realText, out float value))
            {
                _lastDunamite.TimerToExplosion = value <= 60 ? value : 60;
            }
            gameObject.SetActive(false);
            _lastDunamite           = null;
            Cursor.lockState        = CursorLockMode.Locked;
            Cursor.visible          = false;
            GameMenu.ActiveGameMenu = false;
        }
 internal void GetDunamite(DunamiteClon dunamite)
 {
     Debug.Log("Get item");
     _lastDunamite           = dunamite;
     Cursor.lockState        = CursorLockMode.None;
     Cursor.visible          = true;
     GameMenu.ActiveGameMenu = true;
 }
 internal void RemoveInList(DunamiteClon dunamite)
 {
     Dunamites.Remove(dunamite);
     changeList?.Invoke();
 }
 internal void AddInList(DunamiteClon dunamite)
 {
     Dunamites.Add(dunamite);
     changeList?.Invoke();
 }