DummyVRController.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. using System;
  2. public class DummyVRController : AVRController
  3. {
  4. public override bool IsHandCameraMode
  5. {
  6. get
  7. {
  8. return false;
  9. }
  10. }
  11. public override bool HandCameraMode
  12. {
  13. get
  14. {
  15. return false;
  16. }
  17. set
  18. {
  19. }
  20. }
  21. public override bool IsHandPenMode
  22. {
  23. get
  24. {
  25. return false;
  26. }
  27. }
  28. public override AVRControllerBehavior.LIMIT_MODE HandLimitMode
  29. {
  30. get
  31. {
  32. return AVRControllerBehavior.LIMIT_MODE.NORMAL;
  33. }
  34. set
  35. {
  36. }
  37. }
  38. public override bool HandModelVisible
  39. {
  40. get
  41. {
  42. return this.m_CtrlBehNow.HandModelVisible;
  43. }
  44. set
  45. {
  46. this.m_CtrlBehNow.HandModelVisible = value;
  47. }
  48. }
  49. public override bool HandDanceMode
  50. {
  51. get
  52. {
  53. return false;
  54. }
  55. set
  56. {
  57. }
  58. }
  59. public override bool HandVRIKMode
  60. {
  61. get
  62. {
  63. return false;
  64. }
  65. set
  66. {
  67. }
  68. }
  69. public override bool HandYotogiMode
  70. {
  71. get
  72. {
  73. return false;
  74. }
  75. set
  76. {
  77. }
  78. }
  79. public override void Init()
  80. {
  81. base.Init();
  82. this.m_CtrlBehOld = base.GetComponent<DummyVRControllerBehavior>();
  83. this.m_CtrlBehOld.Init(this);
  84. this.m_CtrlBehNew = this.m_CtrlBehOld;
  85. }
  86. }