private void OnTriggerStay(Collider other) { if (UtilityExtensions.IsInLayerMask(layer: other.gameObject.layer, layermask: focusLayers) && m_focusPoint == null) { m_focusPoint = other.transform; } }
private void OnTriggerExit(Collider other) { if (UtilityExtensions.IsInLayerMask(layer: other.gameObject.layer, layermask: focusLayers)) { m_focusPoint = null; } }