ConfidenceRange.cs 571 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (c) Meta Platforms, Inc. and affiliates.
  3. * All rights reserved.
  4. *
  5. * This source code is licensed under the license found in the
  6. * LICENSE file in the root directory of this source tree.
  7. */
  8. using System;
  9. using UnityEngine.Events;
  10. namespace Meta.WitAi.CallbackHandlers
  11. {
  12. [Serializable]
  13. public class ConfidenceRange
  14. {
  15. public float minConfidence;
  16. public float maxConfidence;
  17. public UnityEvent onWithinConfidenceRange = new UnityEvent();
  18. public UnityEvent onOutsideConfidenceRange = new UnityEvent();
  19. }
  20. }