Exemplo n.º 1
0
    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;
    }
Exemplo n.º 2
0
    //1.private float latsum = 0f;
    //1.private float lngsum = 0f;
    //1.private int size_of_List;

    void Start()
    {
        reader = gameObject.GetComponent(typeof(csvReader)) as csvReader;
        loadData();
    }