mirror of
https://github.com/ConjureETS/MTI860_VR_Multi_Controller.git
synced 2026-03-24 04:21:15 +00:00
job done!
This commit is contained in:
parent
e2509ab42d
commit
422fc8494b
@ -12,6 +12,7 @@ public class Executable : MonoBehaviour
|
||||
public TextMesh text;
|
||||
public bool IsQuickTeleport = false;
|
||||
public bool noMovementChange = true;
|
||||
public bool bloquer = false;
|
||||
public ChoiceOfMovement nextMouv;
|
||||
|
||||
void Start()
|
||||
@ -26,22 +27,26 @@ public class Executable : MonoBehaviour
|
||||
|
||||
public void Execute()
|
||||
{
|
||||
if (timer)
|
||||
{
|
||||
timer.Stop();
|
||||
}
|
||||
if (!noMovementChange)
|
||||
{
|
||||
PlayerPrefs.SetInt("mouvement", (int)nextMouv);
|
||||
}
|
||||
if (IsQuickTeleport)
|
||||
{
|
||||
SceneManager.LoadScene(NextScene);
|
||||
}
|
||||
else
|
||||
{
|
||||
StartCoroutine("TimerExecute");
|
||||
if (!bloquer) {
|
||||
bloquer = true;
|
||||
if (timer)
|
||||
{
|
||||
timer.Stop();
|
||||
}
|
||||
if (!noMovementChange)
|
||||
{
|
||||
PlayerPrefs.SetInt("mouvement", (int)nextMouv);
|
||||
}
|
||||
if (IsQuickTeleport)
|
||||
{
|
||||
SceneManager.LoadScene(NextScene);
|
||||
}
|
||||
else
|
||||
{
|
||||
StartCoroutine("TimerExecute");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
private int count = 0;
|
||||
IEnumerator TimerExecute()
|
||||
@ -58,7 +63,7 @@ public class Executable : MonoBehaviour
|
||||
}
|
||||
|
||||
|
||||
yield return new WaitForSeconds(1f);
|
||||
yield return new WaitForSeconds(1.5f);
|
||||
if (count <= 0)
|
||||
{
|
||||
SceneManager.LoadScene(NextScene);
|
||||
|
||||
@ -1,12 +1,13 @@
|
||||
Bug Unity Général :
|
||||
- Apès avoir frapper le démon, on voit 5-3-1 au lieu de voir 5-4-3-2-1
|
||||
|
||||
Bug Mouvement Joycon :
|
||||
Vitesse et mass a modifier : Déplacement trop rapide.
|
||||
Direction ne suit pas la camera -> Incapable de tourner
|
||||
|
||||
|
||||
[DONE]
|
||||
Bug Unity Général :
|
||||
Bug Unity Général :
|
||||
[DONE]- Apès avoir frapper le démon, on voit 5-3-1 au lieu de voir 5-4-3-2-1
|
||||
[DONE]- Incapable que lorsque j'appuie sur "Play", le jeu soit render dans mon casque. Je suis obligé de build and run à chaque fois. Problème : Incapable de modifier de mouvement en VR
|
||||
Bug WASDmovement avec VR controllers :
|
||||
[DONE]- quand tourne + avance au max, Character est propulser
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user