VRDummyControllerButtons.cs 949 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. using System;
  2. using UnityEngine;
  3. public class VRDummyControllerButtons : AVRControllerButtons
  4. {
  5. protected override void Awake()
  6. {
  7. this.m_bHandL = false;
  8. }
  9. public override bool ShowHand { get; set; }
  10. public override void Haptic(byte f_byFoce, float f_fTime)
  11. {
  12. }
  13. public override bool GetPressDown(AVRControllerButtons.BTN f_eBtn)
  14. {
  15. return false;
  16. }
  17. public override bool GetPress(AVRControllerButtons.BTN f_eBtn)
  18. {
  19. return false;
  20. }
  21. public override bool GetPressUp(AVRControllerButtons.BTN f_eBtn)
  22. {
  23. return false;
  24. }
  25. public override bool GetTouchDown(AVRControllerButtons.TOUCH f_eTouch)
  26. {
  27. return false;
  28. }
  29. public override bool GetTouch(AVRControllerButtons.TOUCH f_eTouch)
  30. {
  31. return false;
  32. }
  33. public override bool GetTouchUp(AVRControllerButtons.TOUCH f_eTouch)
  34. {
  35. return false;
  36. }
  37. public override Vector2 GetAxis()
  38. {
  39. return Vector2.zero;
  40. }
  41. public override float GetTriggerRate()
  42. {
  43. return 0f;
  44. }
  45. }