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

@@ -12,7 +12,7 @@ namespace Scampz.GameJam
{
if (Instance != null && Instance != this)
{
Destroy(this);
DestroyImmediate(this);
return;
}
Instance = this;
@@ -28,8 +28,7 @@ namespace Scampz.GameJam
{
yield return null;
var player = GameObject.FindGameObjectWithTag("Player");
var levelChanger = GetComponentInChildren<LevelChanger>();
levelChanger.FadeAnimation();
LevelChanger.Instance.FadeAnimation();
yield return null;
var loadSceneOperation = SceneManager.LoadSceneAsync(sceneName, loadSceneMode);
yield return new WaitForSeconds(3f);