fix chest, breakable wall

This commit is contained in:
2026-06-06 11:43:11 +03:00
parent 7579175d24
commit a1420ed339
4 changed files with 48 additions and 20 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ public class HammerThrower : MonoBehaviour
{
[SerializeField] private Transform _spawnPoint;
[SerializeField] private GameObject _hammerPrefab;
[SerializeField] private float _throwSpeed = 10f;
[SerializeField] private float _throwSpeed = 5f;
private GameObject _currentHammer;
private bool _hasHammer = true;
+4 -1
View File
@@ -23,7 +23,10 @@ public class InputManager : MonoBehaviour
public void OnEnable()
{
_actions.Enable();
if (_actions != null)
{
_actions.Enable();
}
}
public void OnDisable()