IControllerStateParser.cs 1.2 KB

123456789101112131415161718192021222324
  1. /****************************************************************************
  2. * Copyright 2019 Nreal Techonology Limited. All rights reserved.
  3. *
  4. * This file is part of NRSDK.
  5. *
  6. * https://www.nreal.ai/
  7. *
  8. *****************************************************************************/
  9. namespace NRKernal
  10. {
  11. using System.Collections;
  12. using System.Collections.Generic;
  13. using UnityEngine;
  14. /// <summary>
  15. /// The interface contains methods for controller provider to parse raw sates to usable states. </summary>
  16. public interface IControllerStateParser
  17. {
  18. /// <summary> Parser controller state. </summary>
  19. /// <param name="state"> The state.</param>
  20. void ParserControllerState(ControllerState state);
  21. }
  22. }