private void Start()
 {
     isSavingData        = true;
     countBetweenCapture = 1 / (dataSavingFrequence * Time.fixedDeltaTime);
     managePlayers       = GameObject.FindGameObjectWithTag("GameManager").GetComponent <ManagePlayers>();
     readerDataGame      = new ReaderDataLearning(transform, managePlayers, angleShipFieldview, nbRaycasts, GetComponent <Snake>().positionHotSpotFront, GetComponent <Player>());
 }
Ejemplo n.º 2
0
 private void Start()
 {
     managePlayers  = GameObject.FindGameObjectWithTag("GameManager").GetComponent <ManagePlayers>();
     dataGameReader = new ReaderDataLearning(transform, managePlayers, angleShipFieldview, nbRaycasts, GetComponent <Snake>().positionHotSpotFront, GetComponent <Player>());
 }