Skip to content
Snippets Groups Projects
Commit f63e676f authored by Juliette Marx's avatar Juliette Marx
Browse files

modif script changement couleur objet

parent f473310d
No related branches found
No related tags found
No related merge requests found
......@@ -30,10 +30,15 @@ public class ScreenP1Controller : MonoBehaviour
{
if(10.0f < chrono & chrono < 11.0f)
{
syringeMamie.GetComponent<Renderer>().material.mainTexture = rouge;
mamie.GetComponent<Renderer>().material.mainTexture = rouge;
textPiqure.enabled = true;
healthBar.Heal(75);
while (textPiqure.enabled == true || textPerfusion.enabled == false)
{
syringeMamie.GetComponent<Renderer>().material.mainTexture = rouge;
mamie.GetComponent<Renderer>().material.mainTexture = rouge;
}
}
if (chrono > 50.0f & chrono < 51.0f & textPiqure.enabled == true)
......
......@@ -9,7 +9,7 @@
"com.unity.ugui": "1.0.0",
"com.unity.xr.interaction.toolkit": "0.10.0-preview.7",
"com.unity.xr.management": "3.2.15",
"com.unity.xr.oculus": "file:C:/Users/Tardis/Downloads/com.unity.xr.oculus@1.5.1/com.unity.xr.oculus@1.5.1",
"com.unity.xr.oculus": "file:C:/Users/Juliette/Downloads/com.unity.xr.oculus@1.5.1_win64 (1)",
"com.unity.modules.ai": "1.0.0",
"com.unity.modules.androidjni": "1.0.0",
"com.unity.modules.animation": "1.0.0",
......
......@@ -14,20 +14,20 @@ EditorBuildSettings:
- enabled: 0
path:
guid: 00000000000000000000000000000000
- enabled: 0
- enabled: 1
path: Assets/Scenes/SampleScene.unity
guid: e917d03972e5fe44d8ccb624d0310631
- enabled: 0
path:
guid: 00000000000000000000000000000000
- enabled: 1
- enabled: 0
path: Assets/Scenes/SceneStart.unity
guid: 26c714a373be80e4cbda5a5e10df166d
- enabled: 0
path: Assets/Scenes/SceneAntoine.unity
guid: bf1dbadd1ff301b4f8e016155e684bf3
m_configObjects:
Unity.XR.Oculus.Settings: {fileID: 11400000, guid: d6bc911d966af884396ab8cdb9b15104,
Unity.XR.Oculus.Settings: {fileID: 11400000, guid: 1441f391c9e10d84296235f668cc9819,
type: 2}
com.unity.xr.management.loader_settings: {fileID: 11400000, guid: f3781e32354d3d5498231f087a6085c9,
type: 2}
m_EditorVersion: 2019.3.0f3
m_EditorVersionWithRevision: 2019.3.0f3 (6c9e2bfd6f81)
m_EditorVersion: 2019.3.0f6
m_EditorVersionWithRevision: 2019.3.0f6 (27ab2135bccf)
......@@ -5,6 +5,6 @@
],
"m_SettingValues": [
"True",
"False"
"True"
]
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment