Commit d422f6c5 authored by Cancoin Pablo's avatar Cancoin Pablo
Browse files

Ajout choix de l'os fonctionnel - Reco os

parent e38d8d0d
This diff is collapsed.
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);
}
}
fileFormatVersion: 2
guid: fecd2f6628eac53459d34fc12ed2172f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
This diff is collapsed.
......@@ -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"
},
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment