mirror of
https://github.com/ConjureETS/MTI860_VR_Multi_Controller.git
synced 2026-03-24 04:21:15 +00:00
Tentative button
This commit is contained in:
parent
32e61cd866
commit
3037382203
@ -31,6 +31,9 @@ namespace Assets.Scripts
|
||||
// Update is called once per frame
|
||||
void FixedUpdate()
|
||||
{
|
||||
if(OVRInput.GetDown(OVRInput.RawButton.X)){
|
||||
selectedMovement =ChoiceOfMovement.wasd;
|
||||
}
|
||||
if(selectedMovement != currentMovement)
|
||||
{
|
||||
if (components[currentMovement] is IScriptDeMovement)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user