void Awake() { me = this; quests = new questStructure[2][]; quests[1] = quest1; quest = 1; qdescText.text = quests[quest][activePart].qdesc; }
// Use this for initialization void Start() { questTracker = GameObject.FindGameObjectWithTag("Objective").GetComponent <QuestTracker>(); questManager = GameObject.FindGameObjectWithTag("QuestLog").transform.GetChild(0).GetChild(0).GetComponent <questManager>(); }
// Use this for initialization void Start() { questManager = GameObject.Find("gameController").GetComponent <questManager>(); }
void Start() { theQM = FindObjectOfType <questManager>(); }
// Use this for initialization void Start() { questTracker = GameObject.FindGameObjectWithTag("Objective").GetComponent <QuestTracker>(); playerInv = GameObject.FindGameObjectWithTag("Player").GetComponent <Inventory>(); questManager = questManager.Instance; }