Bug Fixes from v1.0
- Fix lighting on desert - Move dialogue radius to correct spot - Disable movement while talking to NPCs - Move desert spawn point a little bit
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Scampz.GameJam.Assets.Scripts;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.InputSystem;
|
||||
using UnityEngine.SceneManagement;
|
||||
@@ -16,10 +17,18 @@ namespace Scampz.GameJam
|
||||
confirmAction.Enable();
|
||||
}
|
||||
|
||||
private void OnDisable()
|
||||
{
|
||||
confirmAction.Disable();
|
||||
}
|
||||
|
||||
void Update()
|
||||
{
|
||||
if (confirmAction.triggered)
|
||||
var uiText = GetComponentInChildren<TextMeshProUGUI>();
|
||||
if (confirmAction.inProgress)
|
||||
{
|
||||
GameManager.Instance.LoadScene(SceneNames.WorldMap, LoadSceneMode.Single);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user