public FallDetection(FallWarning warning, FallDetected detected, FallNotDetected notDetected) { fallWarning = warning; fallDetected = detected; fallNotDetected = notDetected; }
private void OnTriggerEnter(Collider other) { FallDetected?.Invoke(); }
public FallDetection(FallWarning warning, FallDetected detected, FallNotDetected notDetected) { fallWarning = warning; fallDetected = detected; fallNotDetected = notDetected; }
private void OnTriggerEnter(Collider other) { FallDetected?.Invoke(); }