1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- using System;
- using UnityEngine;
- public class VRDummyControllerButtons : AVRControllerButtons
- {
- protected override void Awake()
- {
- this.m_bHandL = false;
- }
- public override bool ShowHand { get; set; }
- public override void Haptic(byte f_byFoce, float f_fTime)
- {
- }
- public override bool GetPressDown(AVRControllerButtons.BTN f_eBtn)
- {
- return false;
- }
- public override bool GetPress(AVRControllerButtons.BTN f_eBtn)
- {
- return false;
- }
- public override bool GetPressUp(AVRControllerButtons.BTN f_eBtn)
- {
- return false;
- }
- public override bool GetTouchDown(AVRControllerButtons.TOUCH f_eTouch)
- {
- return false;
- }
- public override bool GetTouch(AVRControllerButtons.TOUCH f_eTouch)
- {
- return false;
- }
- public override bool GetTouchUp(AVRControllerButtons.TOUCH f_eTouch)
- {
- return false;
- }
- public override Vector2 GetAxis()
- {
- return Vector2.zero;
- }
- public override float GetTriggerRate()
- {
- return 0f;
- }
- }
|