Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Conflicts:
	Library/CurrentLayout.dwlt
	Library/ScriptAssemblies/Assembly-CSharp.dll
	Library/ScriptAssemblies/Assembly-CSharp.dll.mdb
	Library/assetDatabase3
	Library/metadata/67/67c155c08d2087f48bc84070e25da137
  • Loading branch information
jujufi committed Jan 18, 2014
2 parents 7e2214e + a7d4a5e commit 5c0691c
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 7 deletions.
21 changes: 18 additions & 3 deletions Assets/Kinect/Script/Kinect/Gesture/KinectMebu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,18 @@ public class KinectMebu : MonoBehaviour {

private GameObject[] menu = new GameObject[3];

GameObject[] listeGui;
GameObject guiChargement;

// Use this for initialization
void Start () {
bonePos = new Vector3[2,(int)Kinect.NuiSkeletonPositionIndex.Count];
menu [0] = GameObject.Find ("GUI Text Jouer");
menu [1] = GameObject.Find ("GUI Text Option");
menu [2] = GameObject.Find ("GUI Text Quitter");

listeGui = GameObject.FindGameObjectsWithTag ("GuiMenu");
guiChargement = GameObject.Find ("Affichage chargement");
guiChargement.guiText.text = "";

}

Expand Down Expand Up @@ -80,6 +85,10 @@ void Update () {
audio.Stop();
audio.volume = 1;
audio.PlayOneShot(chateau);
foreach (GameObject gui in listeGui) {
gui.SetActive(false);
}
guiChargement.guiText.text = "Chargement...";
Application.LoadLevel("Scene_Chateau_2");

}
Expand All @@ -88,8 +97,14 @@ void Update () {

if (pass && peuxValider)
{
if (tableauBoolPos[0])
Application.LoadLevel("Scene_grotte");
if (tableauBoolPos[0]){
foreach (GameObject gui in listeGui) {
gui.SetActive(false);
}
guiChargement.guiText.text = "Chargement...";
Application.LoadLevel ("Scene_grotte");
}

if (tableauBoolPos[1])
Application.LoadLevel("MenuOption");
if (tableauBoolPos[2])
Expand Down
2 changes: 1 addition & 1 deletion Assets/Scenes/Scene_Chateau_2.unity
Original file line number Diff line number Diff line change
Expand Up @@ -91714,7 +91714,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 186fad70311718e4e8a16e1b0b7aa77d, type: 3}
m_Name:
m_EditorClassIdentifier:
variation: 5
variation: 15
destruction: 1
--- !u!1 &2091658501
GameObject:
Expand Down
Binary file modified Library/CurrentLayout.dwlt
Binary file not shown.
Binary file modified Library/ScriptAssemblies/Assembly-CSharp.dll
Binary file not shown.
Binary file modified Library/ScriptAssemblies/Assembly-CSharp.dll.mdb
Binary file not shown.
Binary file modified Library/assetDatabase3
Binary file not shown.
Binary file modified Library/metadata/67/67c155c08d2087f48bc84070e25da137
Binary file not shown.
2 changes: 1 addition & 1 deletion WatchGit-csharp.sln
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
GlobalSection(MonoDevelopProperties) = preSolution
StartupItem = Assembly-CSharp.csproj
Policies = $0
$0.TextStylePolicy = $1
Expand Down
2 changes: 1 addition & 1 deletion WatchGit.sln
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
GlobalSection(MonoDevelopProperties) = preSolution
StartupItem = Assembly-CSharp.csproj
Policies = $0
$0.TextStylePolicy = $1
Expand Down
5 changes: 4 additions & 1 deletion WatchGit.userprefs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" PreferredExecutionTarget="MonoDevelop.Default" />
<MonoDevelop.Ide.Workbench ActiveDocument="Assets\Kinect\Script\Kinect\Gesture\KinectMebu.cs">
<Files>
<File FileName="Assets\Kinect\Script\Kinect\Gesture\KinectMebu.cs" Line="83" Column="47" />
<File FileName="Assets\Kinect\Script\Kinect\Gesture\KinectMebu.cs" Line="91" Column="51" />
<File FileName="Assets\Scripts\Menu\Chargement.cs" Line="1" Column="1" />
<File FileName="Assets\Kinect\Script\Kinect\Gesture\KinectMebu.cs" Line="177" Column="1" />
<File FileName="Assets\Scripts\Chateau\StartParcourChateau.cs" Line="1" Column="1" />
<File FileName="Assets\Scripts\Grotte\StartParcour.cs" Line="1" Column="1" />
</Files>
Expand All @@ -24,6 +26,7 @@
<Node name="Grotte" expanded="True">
<Node name="Elements" expanded="True" />
</Node>
<Node name="Menu" expanded="True" />
<Node name="Personnage" expanded="True">
<Node name="Grotte" expanded="True" />
</Node>
Expand Down

0 comments on commit 5c0691c

Please sign in to comment.