// Use this for initialization void Start() { questsUI = FindObjectOfType <QuestsUI>(); taskPartsListUI = FindObjectOfType <TaskPartsListUI>(); options = transform.Find("TaskOptions").gameObject; saveBtn = transform.Find("SaveBtn").GetComponent <Button>(); }
// Use this for initialization void Start() { taskPartsListUI = FindObjectOfType <TaskPartsListUI>(); }
// Use this for initialization void Start() { questsUI = FindObjectOfType <QuestsUI>(); taskPartsListUI = FindObjectOfType <TaskPartsListUI>(); options = transform.Find("PartOptions").gameObject; }