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