diff --git a/Assets/Scripts/MovementGen.cs b/Assets/Scripts/MovementGen.cs index 4db3db4..1209e52 100644 --- a/Assets/Scripts/MovementGen.cs +++ b/Assets/Scripts/MovementGen.cs @@ -31,9 +31,10 @@ namespace Assets.Scripts // Update is called once per frame void FixedUpdate() { - if(OVRInput.GetDown(OVRInput.RawButton.X)){ - selectedMovement =ChoiceOfMovement.wasd; - } + if(OVRInput.GetDown(OVRInput.RawButton.X)){ + selectedMovement =ChoiceOfMovement.wasd; + } + if(selectedMovement != currentMovement) { if (components[currentMovement] is IScriptDeMovement) diff --git a/ProjectSettings/EditorBuildSettings.asset b/ProjectSettings/EditorBuildSettings.asset index 1e3f8a5..690f2bc 100644 --- a/ProjectSettings/EditorBuildSettings.asset +++ b/ProjectSettings/EditorBuildSettings.asset @@ -28,5 +28,5 @@ EditorBuildSettings: type: 2} com.unity.xr.management.loader_settings: {fileID: 11400000, guid: ee43f997c03df204896142e4045b3dda, type: 2} - xr.sdk.mock-hmd.settings: {fileID: 11400000, guid: 9e87227d669776740965cb21059f1b3d, + xr.sdk.mock-hmd.settings: {fileID: 11400000, guid: b92d4de211ef93840ae7ffad5aefaca7, type: 2} diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset index 293d477..09a43a1 100644 --- a/ProjectSettings/ProjectSettings.asset +++ b/ProjectSettings/ProjectSettings.asset @@ -12,8 +12,8 @@ PlayerSettings: targetDevice: 2 useOnDemandResources: 0 accelerometerFrequency: 60 - companyName: Yugioh - productName: LinkEvolutionVR + companyName: Equipe15 + productName: EtudeTypeDeMouvement defaultCursor: {fileID: 0} cursorHotspot: {x: 0, y: 0} m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1}