added font, updated ui, fixed some code
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user