// Start is called before the first frame update void Start() { instance = this; instance.text = instance.GetComponent <Text>(); updateResourceQuest(); }