private void OnTriggerEnter(Collider other) { if (!other.gameObject.CompareTag(Constants.TAG_NOISE)) { return; } responsePoint = other.gameObject.transform.position; OnStartResponding?.Invoke(); }
public void InitializeResponderParameters(Vector3 newResponsePoint) { responsePoint = newResponsePoint; OnStartResponding?.Invoke(); }