IEventInput.cs 824 B

1234567891011121314151617181920212223242526272829303132
  1. using UnityEngine;
  2. namespace Rokid.UXR.Interaction
  3. {
  4. /// <summary>
  5. /// Event Interface
  6. /// </summary>
  7. public interface IEventInput
  8. {
  9. /// <summary>
  10. /// Init event module
  11. /// </summary>
  12. /// <param name="parent">Initialize the parent of the interactor</param>
  13. public void Initialize(Transform parent);
  14. /// <summary>
  15. /// Release event module
  16. /// </summary>
  17. public void Release();
  18. /// <summary>
  19. /// Activate the module (only if the module has already been initialized to activate successfully)
  20. /// </summary>
  21. public void ActiveModule();
  22. /// <summary>
  23. /// Generated interactor
  24. /// </summary>
  25. /// <value></value>
  26. public Transform Interactor { get; set; }
  27. }
  28. }