DummyVRControllerBehavior.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. using System;
  2. using UnityEngine;
  3. public class DummyVRControllerBehavior : AVRControllerBehavior
  4. {
  5. public override AVRControllerBehavior.BEH_TYPE BehaviourType
  6. {
  7. get
  8. {
  9. return AVRControllerBehavior.BEH_TYPE.DUMMY;
  10. }
  11. }
  12. public override bool HandCameraMode
  13. {
  14. get
  15. {
  16. return false;
  17. }
  18. set
  19. {
  20. }
  21. }
  22. public override bool IsHandCameraMode
  23. {
  24. get
  25. {
  26. return false;
  27. }
  28. }
  29. public override bool IsHandPenMode
  30. {
  31. get
  32. {
  33. return false;
  34. }
  35. }
  36. public override bool HandDanceMode
  37. {
  38. get
  39. {
  40. return false;
  41. }
  42. set
  43. {
  44. }
  45. }
  46. public override bool HandVRIKMode
  47. {
  48. get
  49. {
  50. return false;
  51. }
  52. set
  53. {
  54. }
  55. }
  56. public override bool HandYotogiMode
  57. {
  58. get
  59. {
  60. return false;
  61. }
  62. set
  63. {
  64. }
  65. }
  66. protected void Start()
  67. {
  68. NDebug.Assert(this.m_Pair != null, "Pairコントローラがありません。");
  69. OvrMgr.OvrObject ovr_obj = GameMain.Instance.OvrMgr.ovr_obj;
  70. }
  71. public override Vector3 GetVelocityHand()
  72. {
  73. return Vector3.zero;
  74. }
  75. public override float GetRotHandY()
  76. {
  77. return 0f;
  78. }
  79. public DummyVRControllerBehavior m_Pair;
  80. }