private void OnTriggerExit2D(Collider2D _collision) { mg_bc_Penguin component = _collision.gameObject.GetComponent <mg_bc_Penguin>(); if (component != null) { m_penguin = null; m_unloadArrow.SetActive(value: false); } }
private void OnTriggerEnter2D(Collider2D _collision) { mg_bc_Penguin component = _collision.gameObject.GetComponent <mg_bc_Penguin>(); if (component != null) { m_penguin = component; m_arrowOn.SetActive(value: true); m_arrowOff.SetActive(value: false); } }