private void Start() { count = 0; vrPlayer.transform.position = new Vector3(0, 0, 0); vrPlayer.transform.eulerAngles = new Vector3(0f, 0.0f, 0.0f); spawn = map.GetComponent <Spawn_Bird>(); Model_List = spawn.spawned_individuals; //Debug.Log(Model_List.Count); string textInhalt = spawn._IDs[count]; ID.GetComponent <Text>().text = textInhalt; change = false; }
Vector3 lastBirdPos;// store the geopos if we need // Start is called before the first frame update void Start() { //find the abstract map //map = GameObject.Find("mapbase").GetComponent<AbstractMap>(); // find the spawn bird script spawn = GameObject.Find("mapbase").GetComponent <Spawn_Bird>(); //get the list of birds spawned_individuals = spawn.spawned_individuals; DataManager = GameObject.Find("DataManager"); reader = DataManager.GetComponent <csvReader>(); initialize(); //canStart = false; }