Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class QuestGiver : MonoBehaviour
- {
- [SerializeField] Quest quest; //<<<---------
- public void GiveQuest()
- {
- QuestList questList = GameObject.FindGameObjectWithTag("Player").GetComponent<QuestList>();
- questList.AddQuest(quest);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment