void Awake() { text = GetComponent <UnityEngine.UI.Text>(); missionManager = FindObjectOfType <DrForgetful.MissionManager>(); missionManager.scoreListener = this; }
void Start() { missionManager = FindObjectOfType <MissionManager>(); uiText = GetComponent <Text>(); }