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:
2022-08-31 22:56:09 -07:00
parent c73a2e918c
commit b907cdcd9b
20 changed files with 828 additions and 52 deletions

View File

@@ -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);
}
}
}
}