MotionComponent.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using System;
  5. namespace ShotSimulator.Target
  6. {
  7. public enum ShotTargetMotionType
  8. {
  9. Random,
  10. }
  11. public class MotionComponent : BaseShotTargetComponent
  12. {
  13. private ShotTargetMotionType m_ShotTargetMotionType;
  14. private ShotTargetInteractiveType m_ShotTargetInteractiveType;
  15. public MotionComponent(BaseShotTarget target) : base(target)
  16. {
  17. }
  18. public override void OnClick()
  19. {
  20. throw new NotImplementedException();
  21. }
  22. public override void OnEnter()
  23. {
  24. throw new NotImplementedException();
  25. }
  26. public override void OnExit()
  27. {
  28. throw new NotImplementedException();
  29. }
  30. public override void OnFixedUpdate()
  31. {
  32. throw new NotImplementedException();
  33. }
  34. public override void OnHovering()
  35. {
  36. throw new NotImplementedException();
  37. }
  38. public override void OnUpdate()
  39. {
  40. if (m_ShotTargetInteractiveType == ShotTargetInteractiveType.OnUpdate)
  41. {
  42. }
  43. }
  44. }
  45. }