void Awake() { target = GameObject.FindGameObjectWithTag("Player").transform; ui = FindObjectOfType <UIMessageHandler>(); }