added font, updated ui, fixed some code

This commit is contained in:
TAASONI3
2023-12-13 12:49:38 +01:00
parent 10ad860d3e
commit 17a0a22dd4
65 changed files with 1697 additions and 5019 deletions

View File

@@ -1,3 +1,4 @@
using Assets.Scripts.Player;
using Newtonsoft.Json.Linq;
using System.Collections;
using System.Collections.Generic;
@@ -9,7 +10,7 @@ namespace Assets.Scripts
{
public ExploreQuest(GameObject display) : base(display)
{
Vector3 playerPos = GameObject.Find("Player").GetComponent<Player>().transform.position;
Vector3 playerPos = GameObject.Find("Player").GetComponent<PlayerGameObject>().transform.position;
float coordX = getRandomNumber(1000) - 500;
float coordZ = getRandomNumber(1000) - 500;
coordinates = new Vector3(playerPos.x + coordX, 0, playerPos.z + coordZ);