Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Rouet Gwenn
Momie
Commits
d422f6c5
Commit
d422f6c5
authored
May 05, 2021
by
Cancoin Pablo
Browse files
Ajout choix de l'os fonctionnel - Reco os
parent
e38d8d0d
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Assets/Scenes/Demo.unity
View file @
d422f6c5
This diff is collapsed.
Click to expand it.
Assets/ScriptRecoOs.cs
0 → 100644
View file @
d422f6c5
using
System.Collections
;
using
System.Collections.Generic
;
using
UnityEngine
;
public
class
ScriptRecoOs
:
MonoBehaviour
{
public
bool
checkAvant
=
false
;
public
bool
checkArriere
=
false
;
public
bool
checkTete
=
false
;
public
int
nbEssais
=
0
;
public
bool
bonneSelection
=
false
;
//Partie du squelette selectionnee (0 pour arriere, 1 pour avant, 2 pour tete)
public
int
selectedPart
=
-
1
;
//Os selectionne (0 pour gauche, 1 pour milieu, 2 pour droite)
public
int
selectedBone
=
-
1
;
// Start is called before the first frame update
void
Start
()
{
}
// Update is called once per frame
void
Update
()
{
}
public
void
computeOsSelectione
()
{
this
.
nbEssais
++;
this
.
bonneSelection
=
(
selectedPart
==
0
&&
selectedBone
==
0
);
}
}
Assets/ScriptRecoOs.cs.meta
0 → 100644
View file @
d422f6c5
fileFormatVersion: 2
guid: fecd2f6628eac53459d34fc12ed2172f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/SevenScenarios/Reco_os.xml
View file @
d422f6c5
This diff is collapsed.
Click to expand it.
Packages/packages-lock.json
View file @
d422f6c5
...
...
@@ -19,7 +19,7 @@
"depth"
:
0
,
"source"
:
"registry"
,
"dependencies"
:
{
"com.unity.test-framework"
:
"1.1.
1
"
"com.unity.test-framework"
:
"1.1.
3
"
},
"url"
:
"https://packages.unity.com"
},
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment