quests fix resources
This commit is contained in:
@@ -20,8 +20,9 @@ public class npcScript : MonoBehaviour
|
||||
|
||||
//public GameObject questUI;
|
||||
|
||||
public float textspeed = 0.10f;
|
||||
public float textspeed = 0.15f;
|
||||
public bool isPlayerClose;
|
||||
[SerializeField] private BoxCollider2D rtrnActionCollider;
|
||||
|
||||
void Update()
|
||||
{
|
||||
@@ -64,7 +65,8 @@ public class npcScript : MonoBehaviour
|
||||
|
||||
//Start quest
|
||||
// questUI.SetActive(true);
|
||||
playerNetwork.localPlayerTransform.GetComponent<playerNetwork>().SetActiveQuest(questData[activeQuest]);
|
||||
playerNetwork.localPlayerTransform.GetComponent<playerNetwork>().SetActiveQuest(questData[activeQuest]); // set the quest
|
||||
rtrnActionCollider.isTrigger = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user