Esempio n. 1
0
    void InstantiateBoidsDome(Boids boids)
    {
        BoidsDome boidsDome = Instantiate(boidsDomePrefab, boids.transform.position, Quaternion.identity);

        boids.GetComponent <TrailRenderer>().enabled = false;

        boidsDome.boids = boids;
        boidsDome.transform.SetParent(boidsDomeContainer);
    }