mirror of
https://github.com/ConjureETS/MTI860_VR_Multi_Controller.git
synced 2026-03-26 05:21:15 +00:00
Correction positionManager
This commit is contained in:
parent
a0c11be8f6
commit
f23ed304ba
@ -1,3 +1,4 @@
|
|||||||
|
using Assets.Scripts.Utilities;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
@ -5,13 +6,13 @@ using UnityEngine;
|
|||||||
public class PositionManager : MonoBehaviour
|
public class PositionManager : MonoBehaviour
|
||||||
{
|
{
|
||||||
public GameObject player;
|
public GameObject player;
|
||||||
public List<Position> data;
|
private List<Position> data;
|
||||||
public bool notSended = true;
|
public bool notSended = true;
|
||||||
|
|
||||||
// Start is called before the first frame update
|
// Start is called before the first frame update
|
||||||
void Start()
|
void Start()
|
||||||
{
|
{
|
||||||
data = "";
|
data = new List<Position>();
|
||||||
StartCoroutine("TackerExecute");
|
StartCoroutine("TackerExecute");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -30,7 +31,7 @@ public class PositionManager : MonoBehaviour
|
|||||||
yield return new WaitForSeconds(1.0f);
|
yield return new WaitForSeconds(1.0f);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public sendData()
|
public void sendData()
|
||||||
{
|
{
|
||||||
notSended = false;
|
notSended = false;
|
||||||
DataSaver.SavePosition(data);
|
DataSaver.SavePosition(data);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user