// Use this for initialization // Update is called once per frame private void OnTriggerEnter2D(Collider2D collision) { Astronaut a = collision.GetComponent <Astronaut>(); if (a != null) { a.activateDirectiveGlows(); } }